Providing an asset ID as a keyword to globals_asset_name


(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 Banda) #2

Try:

%asset_parent^as_asset:asset_name%


(Bdebroglio) #3

Beautiful, thanks Bart.

I looked at as_asset in the manual but didn’t grok it.


(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 Banda) #5

Try:

%asset_parent^as_asset:asset_parent^as_asset:asset_name%


(Bdebroglio) #6

Much appreciated. Thanks Bart.