Use an attribute of a parent asset in a calculation
I need to reference the value of an attribute in a parent asset in my calculation. For this example I'm trying to calculation the contribution of the current element towards the total of all the elements under the parent. So I want something like:
'[<view>.%ParentAsset%.Total]'
but the syntax is wrong. So how do I reference a value from the parent (or in other cases a grandparent, child or even a sibling asset)?
4 replies
-
,
There is a ParentAssetTag function which allows you to reference a tag from a parent (or grandparent) asset of a given asset type.
Child asset tags would fall under the tags available for the current asset type, but have additional branches in the tag path.
Currently, I don't know of a way to reference a single tag from a sibling asset. What is the case for that scenario?