Controls function
setValue#
The id function takes the resourceId,fieldId,value to be inserted as input and inserts the value into the respective fieldId.
Syntax:
new NameSpace("control").setValue(
NumberresourceId,NumberfieldId,Stringvalue);
Returns: Void
Example:
response = new NameSpace("control").setValue(3, 567, "test");setValues#
The id function takes the List of Map as input and inserts the value into the respective fieldId.
Syntax:
new NameSpace("control").setValue(
listsetValue);
Returns: Void
Example:
response = new NameSpace("control").setValues(setValue);auto#
The auto function takes the resourceId and fieldId as input and works on the function.
Syntax:
new NameSpace("control").auto(
NumberresourceId,NumberfieldID);;
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";new NameSpace("control").auto(resourceId, fieldId);emergencyauto#
The emergencyauto function takes the resourceId and fieldId as input and works on the function.
Syntax:
new NameSpace("control").emergencyauto(
NumberresourceId,NumberfieldId);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";new NameSpace("control").emergencyauto(resourceId, fieldId);override#
The override function takes the resourceId,fieldId,action to be overrided as input and executes the action into the respective fieldId.
Syntax:
new NameSpace("control").override(
NumberresourceId,NumberfieldId,Stringvalue);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";value = "<some value>";new NameSpace("control").override(resourceId, fieldId, value);emergencyoverride#
The emergencyoverride function takes the resourceId,fieldId,action to be overrided as input and executes the action into the respective fieldId.
Syntax:
new NameSpace("control").emergencyoverride(
NumberresourceId,NumberfieldId,Stringvalue);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";value = "<some value>";new NameSpace("control").override(resourceId, fieldId, value);