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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Using Server Push to Client property value update (GetProperties) to refresh specific content

No ratings

Push update what is it? It is a mechanism that GetProperties supports so that the Server can push a value to a client mashup. This will allow you to see values update in your mashup real time without needing the refresh widget.
Another great way to use the push updates is to propagate events that tie to specific content fetches.
Let's say your mashup has three areas: KPIs, Alerts, Live values.
Using some logic server side you can set up a 'tracker' Thing with properties that indicate that one of those areas has updated data.
Bring these notifications as property values into the mashup using GetProperties and as the Server pushes updates to the mashup runtime, you can map it to a Validator or Expression widget (set to autoevaluate) which in turn can now run the necessary Service to fetch the updated information for the specific area.

Version history
Last update:
‎Oct 24, 2018 03:15 PM
Updated by:
Labels (1)
Tags (1)