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

AVEVA™ Work Tasks

control​.findAllByXmlNode()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use findAllByXmlNode() method to find an array of controls with a specific XML node on the form.

Syntax

control.findAllByXmlNode(mappedXMLnode);

Parameters

Parameter

Description

mappedXMLnode

XML node of the control to search on the form.

Return Value

This method returns an array of control objects.

Example

// Find all controls in the same and lower hierarchy on the form.

control.findById("B1").findAllByXmlNode("EmployeeName");

// Find all controls anywhere on the form.

control.findById("B1").findAllByXmlNode("EmployeeName",1);

// Find all controls in the same hierarchy on the form.

control.findById("B1").findAllByXmlNode("EmployeeName",2);

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