Substitution parameter from root
As an AF administrator, I want to configure templates with Point Creation using Substitution Parameters that can retrieve names and values from an element relative to the root element and working it's way down to the element wanted. A way for this to work, would be for the search mechanism to store the full path of the element and then work it's way down starting at the root.
Currently substitution parameters can be used to retrieve information from elements relative to the element in which the substitution parameter is configured.
Use case: I would use this template for elements that can be located at the third level or lower in the hierarchy. I need the element name of the element located at the second level of the hierarchy relative to the branch my element is located on.
You can get the top level root via the %\Element% substitution parameter. Getting other levels is not currently possible without additional string builder's which can copy down the attribute as suggested
Sebastien Raposo commented
Yes François idea would work as a work around and was provided to the customer who requested this Enhancement Request. That being said it is a workaround and is not scalable for very large systems. Thanks for sharing the idea though, this may help some customers!
Francois Aubin commented
A think a "String Builder" data reference having '..\|MyParentAttribute;' as parameters should work.
At the 1st level (or at any level) overwrite the value by a value then it will be available for all descendant elements.
My 2 cents ...