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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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

jk-3
10-Marble

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.

ACCEPTED SOLUTION

Accepted Solutions
ptc-4964393
12-Amethyst
(To:jk-3)

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
12-Amethyst
(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

ptc-4964393
12-Amethyst
(To:jk-3)

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

Announcements


Top Tags