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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

dynamic change of mashups every 20 sec

svisveswaraiya
17-Peridot

dynamic change of mashups every 20 sec

Hi,

Is it possible to dynamically chnage or toggle between 3 mashups every 20 seconds? For eg, If I am in mashup1, after 20 seconds, it should navigate to mashup2 and after 20 seconds it should navigate from mashup2 to mashup3 and further after 20 seconds, it should navigate back to mashup1 and the loop should go on. Is it possible to do it?

 

Thanks,

Shalini V

2 REPLIES 2

One way to achieve this would be to use Tabs. Let's assume you have 3 mashups under 3 tabs. SelectedTabName property of Tabs is bindable in both direction i.e. you can get the name of current tab as well as set a new tab name. So, using an auto refresh widget(set for 20s) get the current value from this property into a service which will return a new tab name which would be bound to SelectedTabName. You also have the option of making the actual tabs invisible.

It's totally possible also with content mashup, and a service which returns the new mashup on the sequence, you just need to bind it's output to the content mashup and trigger it with the auto refresh button.

Announcements


Top Tags