RequestUserPropertiesForType
Returns the user properties defined for an equipment type.
Function
void RequestUserPropertiesForType(eqType: string, callback: function)
Parameters
- eqType (string): Equipment type name (for example: “Conveyor”)
- callback (function): The function to execute when an array of user property names are returned from the server.
Example
Get the user properties for equipment type Conveyor and print it to console log:
SYM3.RequestUserPropertiesForType("Conveyor", (props) => {
console.log("Conveyor user properties: ", props);
});
/*
Console log:
Conveyor user properties: (2) ['LocationID', 'SortLocation']
*/