The Unselect action, along with the applicable SetParam options, lets you automate deselecting some or all documents and design elements within scanEZ's selection tree.
To automate selections in scanEZ's Selection Tree, use the
Unselect 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 deselected. This will deselect checkbox selections.
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
The Unselect action can be used for deselecting entries within trees and grids; the selection mechanics, attributes and compatible values, and the attributes and SetParam options are different depending on what you need to select.
For selections in grids, selection trees in mono-database products or server/database trees, please look at these pages:
- Deselecting grid rows
- Deselecting in design element trees (signEZ, viewEZ, designPropEZ, actionBarEZ)
- Deselecting in multi-database and multi-server selection trees (databaseEZ, aclEZ, replicationEZ, agentEZ)
|Attributes||Attribute Value||Value Description|
|Category||User defined My Selection name|
Access Control List
|Defines the form of Unselect operation to be used - Required|
|Type||See detailed description*|
|Field Name||Compatible Field Values||Value Description|
|NoteID||The NoteID in either decimal or hexadecimal format prefixed with an "h" or "H"|
OR set value
The text displayed in tree node - Case insensitive
Will deselect everything in the tree
"All" value depends on the current language (English, German...) of the product
<Unselect Category="Designs" Type="Views"/>
<Unselect> <SetParam NoteID="hC9A"/> <SetParam NoteID="h18FA"/> </Unselect>
<ytriaAutomation> <Expand Target="Tree" Category="Documents" Type="Memo"/> <Unselect> <SetParam NoteID="h1106"/> <SetParam NoteID="h110A"/> </Unselect> </ytriaAutomation>
In the script above, (used on a currently loaded database) the Unselect action will deselect documents with NoteIDs of "h1106" and "h110A".