Tag: Select
The Select
tag, along with the applicable SetParam options, lets you automate the selection of documents and design elements within scanEZ's selection tree.
<Select Category="Designs" Type="Views"/>
Note |
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:
scanEZ Specific Attribute Options
Attributes | Attribute Value | Value Description | Comment |
Category | User defined My Selection name
Access Control List
Designs
Documents
Profile Documents
Deletion Stubs
Conflicts
ByNoteID | Defines the form of Select operation to be used | |
Type | See detailed description* | | |
Value | User defined | | Mandatory for Category "ByNoteID" |
To automate selections in scanEZ's Selection Tree, use the Select
action along with a combination of Category and Type attributes.
Note |
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:
Outlines
Framesets
Pages
Forms
Views
Folders
Navigators
Agents
Images
Applets
Web Services Providers
Web Services Consumers
Java
Jars
Subforms
Shared Fields
Script Libraries
Others
Agent Data
Data Connections
DB2 Access Views
Style Sheets
Shared Columns
Shared Actions
Files
Wiring Properties
Composite Applications
Components
iNotes
XPages
Custom Controls
Themes
Server JavaScript Libraries
Eclipse Files
Example Script
?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ytriaAutomation Application="scanEZ" Console="True">
<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.