Expand Tree Node
Tag: Expand
The Expand action is used to automate the expansion of a database or design tree node.
<Expand Target="Tree" Category="Designs" Type="Agents"/>
Tag Attributes
Attributes | Attribute Value | Value Description |
---|---|---|
Target | Tree | N/A |
Category | User defined My Selection name Access Control List Designs Documents Profile Documents Deletion Stubs Conflicts ByNoteID | Detailed Type values for the Designs category can be found in the Select page. |
Type | Displayed tree name | N/A |
Detailed Description
The Expand action can be used to expand a category as if clicking on the tree node in the UI and is essential in order to perform <code>Select</code> and <code>Focus</code> actions using the Category attribute value 'ByNoteID'.
Example Script
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="scanEZ" ApplicationVersion="16.5">
<Load Server="ACME01/ACME">
<Load Database="daltmann.nsf" Select="True"/>
</Load>
<Expand Target="Tree" Category="Documents" Type="Memo"/>
<Select Target="Tree" Category="ByNoteID" Value="h111E'/>
<Select Target="ItemsGrid" lines="all"/>
</ytriaAutomation>
In the script above, the database "daltmann.nsf" will be loaded into scanEZ and then the Expand action will expand the "Memo" type documents within the category "Documents". The document with the NoteID of "h111E" will be selected, as will all rows within the Items grid.