Solved
Overwriting an Infotable Property
I have the following code with which i never assign the variable back to the property however my property on the "Thing" changes to match the service result. Does anyone know why this is happening?
var original=Things["Thing"].Property;
var variable=original;
var newField = new Object();
newField.name = "Setpoint";
newField.baseType = 'STRING';
variable.AddField(newField);
for (var i=0;i<variable.rows.length;i++){
variable.rows[i].Setpoint=/*somevalue*/;
}
var result=variable;
