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

AVEVA™ XR Connected Worker Template

Step 5: Set up Procedure menu

  • Last UpdatedJan 20, 2025
  • 2 minute read

The procedure menu and supporting procedure mapping is defined by data structures in the apm_data_sampleAsset.xml script file.

Set the number of dropdown menus

You can have up to three if you wish to provide a variety of procedure combinations. You will need to restrict the length of text populating the dropdown elements.

define name="sampleAsset.procedures" type="config" >

<item name="numberOfDropdowns" value="1" />

Set List entries

Defines the names of procedures to see in the dropdown menu. Edit the lang.xml to set the value.

If you have set numberOfDropdowns greater than 1, setup a corresponding <struct> with name of dropdownList_1, dropdownList_2. Make sure to increment the postfix index (Example _1, _2) in the struct name.

<define name="sampleAsset.procedures" type="config" >

<item name="numberOfDropdowns" value="1" />

<struct name="dropdownList_0">

<item name="displayName" value="@lang:sampleAsset_proc_dropdownLabel_0@" />

<item name="entries"
value="@lang:sampleAsset_proc_dropdown0_entry0@,@lang:sampleAsset_proc_dropdown0_entry1@" />

</struct>

Set up Dropdown labels

There are entries in the Language file that can populate the Dropdown labels. Search in the language editor for proc_dropdownLabel_.

When you have more than one dropdown menu, you should setup a label for each one. In our single dropdown example, we set the label to blank as defined by the Localization lang.xml file. The language file has keys for each of the three dropdowns.

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