Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
This is a fairly simple question that I can't find the answer to anywhere. I'm dealing with a DataChange event - Update - and I would like to know what the EntryChangeEvent data shape field definitions 'id' and 'type' indicate in the system. I have a theory that they have to do with specific entry that was changed in the data table, but I can't confirm it.
Solved! Go to Solution.
id is the key of the row, use the GetDataTableEntryByKey to get the row itself.
For DataTables and I think Streams as well, ID is the unique id of the records and type is the type of change made.
At least to the best of my knowledge.
You can test this by doing an entry, then editing it and subscribing and looking at the info.
So, for data tables, this would include all of the information contained within the row or rows that were changed? Or is it an identifier that points to that data? For example, do I use the 'id' property as the input for the Key of a data table? Do I use it to call the data it represents like you would with any other infotable variable?
id is the key of the row, use the GetDataTableEntryByKey to get the row itself.