Skip to main content
Skip table of contents

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.


XML
<SelectedEditLicenseUsageLocation usageLocation="Venezuela"/>

Tag Attributes

AttributesAttribute Value
usageLocationThe value for the field "Location for License Usage" - must match an entry in the list (not case sensitive)
KeepAliveTRUE (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.


edit-license-usage-location

Example Script

XML
<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>
JavaScript errors detected

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

If this problem persists, please contact our support.