Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello Community,
I have here currently three mashups which are embedded into three tabsets. If i do for eg add entry in datatable from one mashup then it also have to show me into another mashup which they are showing but i have to do manually refresh the page to see the change.
Is there any way that other two mashups would be updated automatically when i add an entry into one mashup then other two must reflect the changes also which i have done...
Solved! Go to Solution.
It's a bit tricky but your embedded mashup should have a "Refresh" input binding in its properties. Tabselected should be bound to that.
Then, inside of your embedded mashup, use the "RefreshRequested" input and bind that to the execution of the service(s). You need to do this manually because the mashup can't know what a "refresh" means for all it's data source.
You could use the TabSelected event and link it to the re-execution of the service that gets the data (or the mashup refresh event).
Thanks for your reply. There is no service here in this mashup but every mashup has services in it. The datatable is only one which loads the data into the mashup and from one mashup i feeds the data and now other two mashups are displaying that data from this datatable. and when i click on any of two tabs then it needs to show me the data right away but not...even this refresh event did not work.
It's a bit tricky but your embedded mashup should have a "Refresh" input binding in its properties. Tabselected should be bound to that.
Then, inside of your embedded mashup, use the "RefreshRequested" input and bind that to the execution of the service(s). You need to do this manually because the mashup can't know what a "refresh" means for all it's data source.
Its working as you have mentioned! you are great. Thank YOU!