Device UI rules
The device UI rules object represents the user interface rules applied to a device, typically used in device model configuration scripts.
The updateDeviceUIRules function receives an object of this type as a parameter, which allows establishing the user interface rules for the device given as a parameter in the script.
Properties
### canCreateEndpoints (boolean) The canCreateEndpoints property indicates whether it is possible to create endpoints on the device given as a parameter. The value true indicates that creating endpoints is allowed, while the value false prevents the creation of new endpoints.
Examples
This example prevents creating new endpoints on a device.
function updateDeviceUIRules(device, rules)
{
rules.canCreateEndpoints = false;
}Endpoint configuration
The endpoint configuration object represents the initial configuration of an endpoint, typically in device model configuration scripts. Objects of this type are created...
Endpoint UI rules
The endpoint UI rules object represents the user interface rules applied to a device, typically used in device model configuration scripts.