Asset list showing siblings

Hi all,


I am building a staff directory. Staff are organised into groups in folders. I want to embed an asset listing in a paint layout that would show all other staff in the same folder as the member being viewed. But how can I make an asset listing show siblings that will work with dynamic inputs? I know there's no way to grab the parent asset details but I can't even see how to make siblings list even statically let alone dynamically.



Is it possible or can asset lists not show siblings?

You can do this with 2 asset listings. The first one set the direction to look 'up the tree' by 1 level, limit to 1 result and a dynamic root node of the current asset. This will return the current assets parent. Create a second asset listing looking down the tree with direct child assets only and a dynamic root node of session variable 'list_current_asset_id'. The second asset listing you nest in the type format bodycopy of the first asset listing.


In a nut shell you look up the tree 1 level, then look back down to find the siblings. The keyword list_current_asset_id is set each time an asset listing outputs an asset.

For reasons unknown it took me ages to get all the settings to play together but yes it worked! Thank you!