The AddToSelection function automates the action of loading additional reference Users (or Groups or Sites) and their related data into the grid.

Tag Attributes

Attributes

Attribute Values

Value Description

KeepAlive

True/False

See KeepAlive.

Detailed Description

For instance, if you have loaded the events for some users, you can add other users to the same grid by using AddToSelection.

Some selection code must be enclosed in AddToSelection tag.

The selection code is a set of Select tags with ColumnID & Value attribute pairs at Select level, or through the standard SetParam notation (as detailed in Select Rows).

Select (for AddToSelection only):

ColumnID

The corresponding Column ID as shown in the Grid Manager

Value

User definable

OR these set values

True

False

Blank

Partial

The value to use as selection criteria 

Acceptable values for checkbox cells 

See SelectedGroupMemberAdd: Add members to Groups for more info.

Example scripts

<ytriaAutomation>
     <AddToSelection>
        <Select columnID='id' Value='ae175f35-b21b-48b1-9398-be0ddcd40bac'/>
    </AddToSelection>
</ytriaAutomation>
CODE
<ytriaAutomation Application="sapio365">   
	<AddToSelection KeepAlive ="true">
		<!-- selection in address book grid -->
		<Select Lines="ByValue">
			<SetParam columnID="PRINCIPALNAME" value="RosaL@M365x823975.onmicrosoft.com"/>
		</Select>	
	</AddToSelection>
</ytriaAutomation>
XML