Skip to main content
Skip table of contents

Deselect Tree Entries

Tag: Unselect

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.


Detailed Description

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:

  • 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


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:

Tag Attributes

AttributesAttribute ValueValue Description
CategoryUser defined My Selection name

Access Control List

Designs

Documents

Profile Documents

Deletion Stubs

Conflicts

ByNoteID

Defines the form of Unselect operation to be used Required
TypeSee detailed description*


SetParam Options

Field NameCompatible Field ValuesValue Description
NoteIDThe NoteID in either decimal or hexadecimal format prefixed with an "h" or "H"
Name

User defined

OR set value

All

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

Example Scripts

XML
<Unselect Category="Designs" Type="Views"/>
XML
<Unselect>
	<SetParam NoteID="hC9A"/>
	<SetParam NoteID="h18FA"/>
</Unselect>
XML
<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".

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.