cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Can we bind remote properties on property change event instead of using auto refresh widget in Mashup

jk-3
6-Contributor

Can we bind remote properties on property change event instead of using auto refresh widget in Mashup

Can we bind remote properties on property change event instead of using auto refresh widget in Mashup.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

A "property push to mashup" functionality has been added in the latest release of Thingworx platform 7.2.

The property values are pushed to mashup vs. pulled using the auto-refresh widget.
Now the mashups can use a websocket connection and create subscriptions to a property.
This allows them to react responsively to property updates via the GetProperties service.
One persistent websocket connection is used and permit to retrieve automatically the property values without specifying an interval.
When using the Getproperties Service in a mashup it will display a new check box "Automatically update values when able".
This is what enable automatic receive the updates.
The GetProperties service have a ServiceInvokeCompleted service that is triggered when a new value has been received.

I hope this answer help

View solution in original post

2 REPLIES 2
mhollenbach
5-Regular Member
(To:jk-3)

Jothi,

With current versions of ThingWorx you will need to use an auto refresh widget instead of making your Mashups event driven. In the near future Mashups can be completely event driven.

Meghan

Hi,

A "property push to mashup" functionality has been added in the latest release of Thingworx platform 7.2.

The property values are pushed to mashup vs. pulled using the auto-refresh widget.
Now the mashups can use a websocket connection and create subscriptions to a property.
This allows them to react responsively to property updates via the GetProperties service.
One persistent websocket connection is used and permit to retrieve automatically the property values without specifying an interval.
When using the Getproperties Service in a mashup it will display a new check box "Automatically update values when able".
This is what enable automatic receive the updates.
The GetProperties service have a ServiceInvokeCompleted service that is triggered when a new value has been received.

I hope this answer help

Top Tags