Skip to main content
14-Alexandrite
January 11, 2021
Question

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

  • January 11, 2021
  • 1 reply
  • 3158 views

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

  

1 reply

5-Regular Member
January 11, 2021

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,

RM1214-AlexandriteAuthor
14-Alexandrite
January 13, 2021

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 ??

Support
January 29, 2021

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