Textbox value to infotable
I have an Mashup(Temp), which has an TextBox, When ever I enter an Value it is getting updated in the service(Demo). But the values are not getting stored in the INFOTABLE, it's just updating the present value of the TextBox in the Mashup(Temp) to the Service(Demo) InfoTable
Note: I want to store all the data entered in the textbox of the mashup in to an INFOTABLE,
Service Code:
var params = {
infoTableName : "InfoTable",
dataShapeName : "Temp_DemoDataShape"
};
var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
var newEntry = new Object();
newEntry.WaterPump = me.WaterPump; // STRING
result.AddRow(newEntry);
Mashup:



