I want to show live sensor data on the collection widgets when it will come.
Please suggest the way how to overcome this problem in thingworx
Don't use infotable property, use DataTable or Stream instead, and then you can use primary key to easily update each row of data, and when you bind it to collection widget, you can use autorefresh to trigger the GetDatatable/Stream entries service.
We usually use AutoRefresh widget to trigger the Collection input service.
But when we used the autorefresh widget it's totally refreshing all data of collection and that does not look nice if we have a large amount of data then it will take time to load all data in the collection.
Is there any way to refresh collection data like we are refreshing property data automatically.
Here's the options for collection widget
1. Put all the requested data in the service result, and then the sub-mashup content is passed by this service through the mashup parameter. And submashup will bind the mashup-properties into its widgets.
2. For each submashup, it calls the services with auto-refresh by itself, and in collection widget, the service in main mashup only returns a list of sub-mashup names/IDs that does not need to change, and let each sub-mashup query and update the content.
i.e. the submashup could use service like this: ThingTemplates["GenericThing"].GetImplementingThingsWithData()