Skip to main content
Skip table of contents

AddToSelection: Load Additional Reference in Sub-modules

AddToSelection loads additional reference Users (or Groups or Sites) and their related data into the grid.

Tag Attributes

Attributes

Attribute Values

KeepAlive

True/False (defaults to False)

LoadDirectory

TRUE / FALSE - Defaults to FALSE / When set to TRUE, this parameter loads the full directory as if you'd clicked the dialog button.

LoadUserIds

list of user ids colon-separated

LoadUserIds and LoadGroupIds can be used at the same time

LoadUserIds cannot be used with LoadDirectory

LoadGroupIds

list of group ids colon-separated

LoadUserIds and LoadGroupIds can be used at the same time

LoadGroupIds cannot be used with LoadDirectory

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 within the AddToSelection tag.

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

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

CODE
<ytriaAutomation>
     <AddToSelection>
        <Select columnID='id' Value='ae175f35-b21b-48b1-9398-be0ddcd40bac'/>
    </AddToSelection>
</ytriaAutomation>
XML
<ytriaAutomation Application="sapio365">   
	<AddToSelection KeepAlive ="true">
		<!-- selection in address book grid -->
		<Select Lines="ByValue">
			<SetParam columnID="DISPLAYNAME" value="All Employees"/>
		</Select>	
	</AddToSelection>
</ytriaAutomation>
XML
<ytriaAutomation Application="sapio365">   
	<AddToSelection KeepAlive ="true">
		<!-- selection in address book grid -->
		<SelectFromList ListName="groupList">
			<SetParam ColumnID="displayName" Value="Dname"/>
		</SelectFromList>
	</AddToSelection>		
</ytriaAutomation>

JavaScript errors detected

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

If this problem persists, please contact our support.