Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Override the Hierarchy Selector's Default Behavior for Selected Child Node

Override the Hierarchy Selector's Default Behavior for Selected Child Node

  • Last UpdatedNov 15, 2023
  • 1 minute read

The Hierarchy Selector widget provides an option to override its default behavior on handling returned data (selected child node).

By default, selected child node is returned as a data object and passed through the widget's Selected Object property. The widget also provides an option to return a specific data object property through the function parameters defined in the configuration file. This specific object property is passed through the widget's Selected Value property.

To override the widget's default behavior

  • Uncomment the selectedChildNode function section in the configuration file. If you are using the main configuration file (Hierarchy_conf.js), look for this section, and modify it accordingly based on the example code provided in the configuration file with sample data:

    The example code that overrides the widget's selected child node behavior is available in the Hierarchy_SampleData_conf.js file, as shown in the following screenshot.

TitleResults for “How to create a CRG?”Also Available in