Way back in this post there was a long discussion about whether there could be a keyword like %asset_parent_assetid% to find the parent of an asset. Greg gave a detailed explanation of some of the challenges where assets were linked in multiple places in the tree... what would you return? I chipped in a thought about returning a list of all of them hoping that might be a bit of help, and even suggesting a modifier to pull individual entries out of a CSV list.
Anyways... I happened to be refreshing my memory on the keyword modifiers manual page today when replying to another post and wow... what did I see but some cool new stuff from 4.18.3 to handle keywords that return whole arrays of values including ^index:n to grab a specific value, which can then have further modifiers applied. I must have somehow missed that exciting development when the release came out!
So... I know this has probably been debated more than once but dare I float the idea again... could it now be possible get that %asset_parent_assetids% and have it returning an array of ALL the linked parents of an asset - using whatever algorithm generates the list you would see on the linking screen. Once you accept the possibility that a keyword can return an array of values which we then have loads of cool modifiers to manipulate, I think most of the original challenges Greg's (and others) posted resolve themselves.
Thoughts, comments?
Anthony