Modifying Entries in InfoTable / Behaviour changed with newer Thingworx
Hi all,
for some aggregation in memory I used an Infotable.
So my Thing has an property of type INFOTABLE and I can access the rows to read/write single entries. e.g:
var now = new Date();
me.tab.rows[0].ts_set = now;
var result = me.tab;
Thingworx 8.4 & 8.5 give me a result with the correct now() timestamp in the first row.
I now tested this code in Thingworx 9.1 and it does not give me the correct now() timestamp in the first row!
So is it not possible to modify single entries in INFOTABLES in place any more?
Do I really have to copy the INFOTABLE every time I access it and change the code to:
var now = new Date();
var tab = me.tab;
tab.rows[0].ts_set = now;
me.tab = tab;
var result = me.tab;Any suggestion, please?
Greetings
Andreas

