Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
This is Thingworx version 9.0.4
I have a service that is being refreshed every 10 seconds via an autorefresh widget. It returns an infotable of data. I am then binding this infotable into the collection widget. The refresh is successfully refreshing the service and getting the new data. I verified this in the networks tab. However, the collection within the UI is not updating. Weirdly, if I change the window screen, it then updates the UI to match the new data.
I have tried a few things. I tried creating an expression that generates a random number. I then bind the change event to the service call instead of the refresh widget. The refresh widget is now bound to the expression. I then bind the expression to a label. I can succeffcully show that the new random number is shown via the label when the refresh happens, the service (w/ new data) fires correctly, but the collection is not updating. If I refresh the screen it updates. If I adjust the screen size, it updates. This is clearly a bug but I am unsure how to work around it.
I also tried binding the refresh widget directly to the mashup load but this does not work at all. I think it is broken until version 9.2.
What can I do here?
Solved! Go to Solution.
Not a bug. I figured out why. The collection mashup has a change event for the data that was not bound. The collection itself does not have a change event trigger.
Not a bug. I figured out why. The collection mashup has a change event for the data that was not bound. The collection itself does not have a change event trigger.