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

AVEVA™ XR Studio

Auto-completion in XML Script Editor

  • Last UpdatedSep 04, 2024
  • 1 minute read

The auto-completion system can simplify the script editing process. The XML Script Editor provides the following features.

Feature

Description

Tag selection

Lists all the possible script tags after the < symbol. The list of available tasks is contextual as different sets are presented for example inside and outside commands.

Attribute selection

Lists all the attributes defined for the current tag after a space. In case of nodes with dynamic fields, such as patch and use template, the system provides the correct fields only after name attribute is set.

Node selection

Displays a list of all the defined nodes inside an attribute value after a @ symbol. In some special node attribute like the from or to attributes of setfield the list is displayed directly after the ".

Field selection

Field selection works together with node selection. When you type a period (.) after a node name in an attribute value, the list of its fields displays.

Field attributes

Field attributes works together with field selection. When you type a period (.) after a field name in an attribute value, the list of its field attributes displays.

Invoke auto-completion

You can also invoke the auto-completion feature by placing the cursor near the various starting symbols (",.,@) and pressing Ctrl+space.

Examples

Some examples of auto-completion.

Embedded Image (65% Scaling) (LIVE)

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in