Skip to main content
1-Visitor
October 6, 2016
Question

Want to get my auto-refresh rate from an external source.

  • October 6, 2016
  • 9 replies
  • 5445 views

I am having an app from where we are getting an integer value which is thingworx refresh rate. I want to bind the auto refresh rate in thingworx with this value. I have already created a service in which i am getting this value from the app and have binded it with autorefresh but after that also my page is getting refreshed according to the refreshinterval present there.

Thanks

9 replies

5-Regular Member
October 6, 2016

Anupriya Agarwal​, To which property are you binding the integer value in Auto Refresh widget? RefreshInterval is not a Bindable property.

aagarwal1-VisitorAuthor
1-Visitor
October 6, 2016

Ankit Gupta​, I am binding that value to autorefresh but it is taking the value which is mentioned in RefreshInterval.

5-Regular Member
October 6, 2016

Anupriya Agarwal​ AutoRefresh is a binary property which switch on/off automatic refresh. RefreshInterval is not Bindable currently. Checked in ThingWorx 7.2.3

This is what you would require to bind and change.

So, you need to create your own custom widget for that. You may use the existing AutoRefresh widget as base for your extension.

Hope it helps.

1-Visitor
December 23, 2016

Anupriya Agarwal​, Ankit Gupta​,

Note that according to support article 253341 and to R&D ticket PSPT-2703 the improvement request to make the RefreshInterval property (of AutoRefresh widget) bindable is already added to ThingWorx 7.4 backlog which is currently targeted for March release. This does NOT guarantee a release, as priorities may change.


Hope that the information is useful,

Horia.

1-Visitor
June 19, 2017

Hi,

Can you provide the links of the Support article?
I did'nt find the article you talk about.

Regards