Solved
Set Timestamp on button click
I have a table table with a field called AcknowledgeTStamp. I need it to fill be filled with the current date/time on the click of a button and then set to null with the click of another button. I tried the code below for my acknowledge service on my thing. I can't seem to figure it out. Any thoughts?
var createITParams = { infoTableName : "", dataShapeName : "" };
var properties = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(createITParams);
// create a row with data
var row = new Object();
row.name = "AcknowledgeTStamp"; // name of your property
row.value = 5; // desired value
row.time = new Date(); // you can set any timestamp you need - important when using ValueStreams to log
properties.AddRow(row);
Things[""].UpdatePropertyValues({ values: properties });

