On-Prem Group

Tag: SelectedEditOnPremGroup

The SelectedEditOnPremGroup function automates the action of editing the properties of the On Premises groups selected in the grid.


XML
<SelectedEditOnPremGroup/>


Tag Attributes

Attributes

Attribute Value

KeepAlive

TRUE (keeps dialog open) / FALSE - Defaults to FALSE

Field names are column IDs:

  • onPremDescription

  • onPremDisplayName

  • onPremGroupCategory

  • onPremGroupScope

  • onPremHomePage

  • onPremManagedBy

Example Script

XML
<ytriaAutomation Application="sapio365">		
	<List name="groupList" Action="setVar" Pname="G1-uni-sec"/>		
	<ShowGroups>
		<LoadOnPremGroups/>
		<SelectFromList ListName="groupList">
			<SetParam ColumnID="commonDisplayName" Value="Pname"/>
		</SelectFromList>
		<SelectedEditOnPremGroup>			
			<SetParam Field="onPremDescription" Value="September Group"/>
			<SetParam Field="onPremManagedBy" Value="CN=Administrator,CN=Users,DC=ovh,DC=ytria,DC=io"/>
		</SelectedEditOnPremGroup>	
		<Save/>	
		<SyncCloudOnPrem/>
	</ShowGroups>
</ytriaAutomation>