Select Tree Entries
The Select tag, along with the applicable SetParam options, lets you automate the selection of documents and design elements within scanEZ's selection tree.
The Select action can be used for selecting entries within trees and grids; the selection mechanics, attributes, compatible values, and SetParam options are different depending on what you need to select.
For selections in grids, server/database trees, and scanEZ's selection tree, please look at these pages:
- Selections in grid rows
- Selections in design element trees (signEZ, viewEZ, designPropEZ, actionBarEZ)
- Tree selections in multi-database and multi-server tools
Using Select in an automation script is equivalent to manually clicking the corresponding tree node(s).
|Attributes||Attribute Value||Value Description|
|Category||User defined My Selection name|
Access Control List
|Defines the form of Select operation to be used|
|Type||See detailed description*|
N/A - Required for Category "ByNoteID"
To automate selections in scanEZ's Selection Tree, use the Select action along with a combination of Category and Type attributes.
This action will not automatically expand a category. A category must already be expanded from a previous action in the script in order to be selected. Selections will be check box selections and focus will be set on the category.
For all Category values except Designs, the Type value is equal to the displayed title in the selection tree.
The following are compatible Type values when using the 'Designs' Category:
- Web Services Providers
- Web Services Consumers
- Shared Fields
- Script Libraries
- Agent Data
- Data Connections
- DB2 Access Views
- Style Sheets
- Shared Columns
- Shared Actions
- Wiring Properties
- Composite Applications
- Custom Controls
- Eclipse Files
<Select Category="Designs" Type="Views"/>
<ytriaAutomation> <Load Server="ACME01/ACME" Database="mail\daltmann.nsf"/> <UnSelect Target="Tree" Category="Designs"/> <Expand Target="Tree" Category="Designs" Type="Views"/> <Select Category="Designs" Type="Views"/> </ytriaAutomation>
In the script above, the database "daltmann.nsf" will be loaded in scanEZ, and all residual selections in the selection tree will be deselected. The tree node "Designs" and "Views" within that, will be expanded. And then the Select action will select all design elements within the "Views" node.