Edit License Usage Location
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"/>
Tag Attributes
Attributes | Attribute Value |
---|---|
usageLocation | The value for the field "Location for License Usage" - must match an entry in the list (not case sensitive) |
KeepAlive | TRUE (keeps dialog open) / FALSE - defaults to FALSE |
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.
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>