Skip to Main Content
AVEVA Product Feedback


Status No status
Created by Guest
Created on Aug 19, 2022

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.
  • Attach files
  • Guest
    Reply
    |
    Aug 19, 2022
    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 ...
  • Guest
    Reply
    |
    Aug 19, 2022
    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!
  • Guest
    Reply
    |
    Aug 19, 2022
    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