Tag: SelectedGroupMemberCopy
The SelectedGroupMemberCopy function automates the action of copying members to a group in the Group Members Grid.
<Select columnID=""'<column ID>"" value=""<value in column>"" />
Tag Attributes
|
Attributes |
Attribute Value |
|---|---|
|
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 |
|
GroupAction |
A dialog will appear asking you what you want to copy |
|
Valid values |
CopyGroups, CopyMembers, Optional - Defaults to CopyGroups |
Detailed Description
To copy members to a group:
-
Select the target group row(s) in the Group Members grid
-
Use SelectedGroupMemberCopy with a selection of user(s) in the grid in the dialog
To select, you can use any of the default grid selection methods:
-
Select Rows in Grid
-
Select Rows From List
-
Select rows - inversion
-
Select / Filter from file
Example Script
<ytriaAutomation Application="sapio365">
<Select lines="ByValue">
<SetParam columnID="displayName" value="Innovation Corner"/>
</Select>
<SelectedGroupMemberCopy loadDirectory="true" GroupAction="CopyMembers">
<Select columnID="PRINCIPALNAME" value="Engineering"/>
</SelectedGroupMemberCopy>
<Save/>
</ytriaAutomation>