Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
How to Implement Caching in Thingworx.
Any reference/pointers/samples will help.
Thanks
Can you tell us more about the use case?
Generally you can cache information
server side
Property
Session parameter
client side
mashup parameter
session parameter
input widget
I am fetching Hierarchical data in TWX from remote server.
The hierarchy can be huge.
So need to cache this data on TWX side.
can you tell me what APIs are available for this.
Any documentation will help.
server side
Once you have the information retrieved, you can store that in a property of a Thing.
Now you mention 'Huge' how many rows of data is it?
You will have to cast the information into a fitting format, so either infotable or json
You could also store it into a DataTable in Thingworx, but if you are frequently accessing the information you might impact performance. It will again depend on the number of rows.