Tag: SelectedEditLicenseUsageLocation

The SelectedEditLicenseUsageLocation function automates the action of opening the Edit Usage dialog. Admins can then easily modify license usage based on a selected user's location.


<SelectedEditLicenseUsageLocation usageLocation="Venezuela"/>
XML

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
usageLocationthe value for the field "Location for License
Usage" - must match an entry in the list (not case
sensitive)
N/AN/A
KeepAliveTRUE (keeps dialog open) / FALSE - defaults to
FALSE
N/AN/A

Detailed Description

SelectedEditLicenseUsageLocation opens the Edit dialog to assign a new license usage location value to users selected in the grid. It does this by using the SetParam actions you set for each user.

A grid selection is still required, just as it's required if using this function manually.


edit-license-usage-location

Example Script

<ytriaAutomation Application="sapio365">
	<OnError Continue="true"/>
	<Select lines="ByValue">
		<SetParam ColumnID="meta.displayName" Value="Betsy Drake" And="true"/>
		<SetParam ColumnID="OBJECTTYPE" Value="user"/>
	</Select>
	<SelectedEditLicenseUsageLocation usageLocation="Venezuela"/>
	<Select lines="ByValue">
		<SetParam ColumnID="meta.displayName" Value="Ben Walters" And="true"/>
		<SetParam ColumnID="OBJECTTYPE" Value="user"/>
	</Select>
	<SelectedEditLicenseUsageLocation usageLocation="Vatican"/>
</ytriaAutomation>+G15>
XML