Skip to main content
Jan 11, 2021 8:10 AM UTC
Question

How Do I refresh info table row data in every second??

Hello ,

     I create service for get all program list (and also calculate program status )and used collection widget for display program status after I bind that service to collection, I want to refresh only that program status for this I'll bind refresh widget to this service It will reload all the parameter. please  refer below attachment and suggest how do I refresh  info table row data in every second??

Thanks in advance

  

7 replies

Jan 11, 2021 8:37 AM UTC

Hello @RM12 ,

 

Maybe you can try to have the updates in the InfoTable property which should not be persistent and not logged.

You could use the GetProperties service in your mashup, set it to automatically update property on this service which will use Websockets to push data into the mashup instead of using the auto refresh widget.

 

Hope it helps,

RM12Author
Jan 13, 2021 3:25 AM UTC

Thanks for your reply, It works for single property I want to refresh multiple program status for infotable base type it not work for this please suggest how do I refresh infotable row data ??

Jan 29, 2021 3:24 PM UTC

Hi @RM12.

 

Since an infotable resides in memory, this could carry a lot of overhead.  Do you really need it to refresh every second?

 

A better solution might be to run the service once the mashup loads, and either provide the ability to do a refresh manually, or have it on a set interval to refresh on a less frequent interval than every second (possibly 30 seconds, or 60 seconds).

 

How many program statuses will be contained in the infotable?

 

Regards.

 

--Sharon