Skip to main content
Oct 6, 2016 9:51 AM UTC
Question

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

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

Oct 6, 2016 10:02 AM UTC

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

aagarwalAuthor
Oct 6, 2016 10:04 AM UTC

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

Oct 6, 2016 10:12 AM UTC

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.

Dec 23, 2016 2:56 PM UTC

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.

Jun 19, 2017 2:52 PM UTC

Hi,

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

Regards