Skip to main content
1-Visitor
August 23, 2016
Question

Is it possible to place time selector widget on master header in order to controll all mashups?

  • August 23, 2016
  • 1 reply
  • 3603 views

In my project I have a master with a menu and three mashups.

I would like to have this option

1) See current data

2) See history of data

if you click on 1 all tables, grids, widgets and whatever show you what's going on right now, if you click on 2 you will see data of a certain range of time in the past.

Now, if I have a single mashup it's easy to do because you just add a query service and bind a time selector widget with it but if you have several mashups is it possible to place the time selector in the master so that, if I click on option 2, all my three mashups will be set in "history mode"?

1 reply

5-Regular Member
August 23, 2016

Hello, I believe what you need here are mashup parameters. See the documentation found here: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS187026

Hope this helps!

Tori

fmanniti1-VisitorAuthor
1-Visitor
August 24, 2016

I'm studying mashup parameters just now so I might be wrong but, to what I understood, this works only between mashups but in masters I don't have a "Configure mashup parameters"

14-Alexandrite
August 24, 2016

An option would be adding it to the Session parameters..

  1. Create a ThingShape with the parameters you want to pass between mashups and add it to the UserManagementSubsystem;
  2. Add the Time Selector widget to the master and bind its parameters to the session properties you created
  3. Bind the session property to the mashup parameters and consume it inside each mashup.

I did not test it myself but it should work.

Cheers

Ewerton