Tag: SelectedEditDevice
SelectedEditDevice edits the selected devices in the Registered Devices module. It opens the Edit dialog; set the new values with SetParam children.
XML
<SelectedEditDevice/>
Tag Attributes
|
Attributes |
Attribute Value |
Comment |
|---|---|---|
|
KeepAlive |
TRUE / FALSE |
Controls whether the window stays open. |
Detailed Description
Fields: displayName, accountEnabled, and extensionAttributes.extensionAttribute1 to extensionAttributes.extensionAttribute15. For accountEnabled, TRUE turns it on and any other value turns it off. At least one SetParam is required.
The change is made in the grid. Use Save or SaveSelected to send it.
Example Script
XML
<ytriaAutomation Application="sapio365">
<ShowDevices>
<Select Lines="ByValue">
<SetParam ColumnID="displayName" Value="Laptop-01"/>
</Select>
<SelectedEditDevice>
<SetParam Field="accountEnabled" Value="False"/>
<SetParam Field="extensionAttributes.extensionAttribute1" Value="Finance"/>
</SelectedEditDevice>
<Save/>
</ShowDevices>
</ytriaAutomation>