bern
(Bdebroglio)
1
This doesn’t work!
%globals_asset_name:{asset_parent}%
I’m in an asset listing (child of another listing) and I can successfully get the ID of the parent asset using %asset_parent%.
Now I want to print the name of the parent, but I’m not sure how to pass its ID to %globals_asset_name%.
I’m sure it’s simple, but I can’t find the answer.
Bart
(Bart Banda)
2
Try:
%asset_parent^as_asset:asset_name%
2 Likes
bern
(Bdebroglio)
3
Beautiful, thanks Bart.
I looked at as_asset in the manual but didn’t grok it.
1 Like
bern
(Bdebroglio)
4
Bart, another question!
Is it possible to chain these commands? I’d like to find the parent two levels up.
I tried this.
%asset_parent^as_asset:asset_name^asset_parent^as_asset:asset_parent%
Bart
(Bart Banda)
5
Try:
%asset_parent^as_asset:asset_parent^as_asset:asset_name%
bern
(Bdebroglio)
6
Much appreciated. Thanks Bart.
1 Like