mapSetValueAt - method of object PmMap
Sets the value of selected object property (creates the corresponding property if needed).
|sProp||(String) Property name.|
|vValue||(Variant) Value that will be assigned to property.|
This method is also functional for Web panels
The property can be created and/or value can be set directly (oMap.property = value
). This method can be used for more general approach - for example the property name can be stored in another variable.
In Web panel that is written in VBScript language it is necessary to use this method to create properties. In this case it is not possible to create property just by assigning the value.
var oMap = Pm.CreatePmMap();
var val = oMap.mapGetValueAt("Temperature");
//val contains 85