How to get the parent asset name

I got a lister which points to products (Folder)

  • Asset Types to List : File
  • Root nodes : products



    This is my structure:


  • products (Folder)

    [indent]- phones (Folder)

    [indent]- Sample (Standard Page) <---- I want to get the asset name of this asset. Do you have any idea? i really need your help

    [indent]- Firmware (Standard Page)[indent]- Sample Firmware (Standard Page)[indent]- Test (File)[/indent][/indent][/indent]

    [/indent][/indent]

[quote]- products (Folder)
[indent]- phones (Folder)

[indent]- Sample (Standard Page) <---- I want to get the asset name of this asset. Do you have any idea? i really need your help

[indent]- Firmware (Standard Page)[indent]- Sample Firmware (Standard Page)[indent]- Test (File)[/indent][/indent][/indent]

[/indent][/indent][/quote]



There is no simple way to get the hierarchy of the File in this scenario, as the File could have multiple parents, and thus multiple hierarchies. You'll have to play with Custom Grouping mode to see if you can get something appropriate.