Skip to main content
1-Visitor
February 29, 2016
Solved

Adding Properties to Master Mashups ("Masters")?

  • February 29, 2016
  • 1 reply
  • 2471 views

I need to be able to pass inputs into a Master mashup; so that I can use them on the page dynamically. What's the process to do that in Composer?

Best answer by ibanham

Hi

Slightly tricky as the Master usually acts as a container for multiple other mashups. I think you have two options...

1) All of your child mashups need to have the same collection of Mashup Parameters. When you define your master, set the default content to be one of these mashups, you should then be able to bind to the mashup parameters of the child mashup. The binding will still work even when you change child mashups as long as the new child mashup has the same parameters.

2) Use session parameters, you can extend these from the default Entity and ZoomLevel by adding a ThingShape containing the properties you require to the UserManagment SubSystem.

Hope this helps

Regards

Ian

1 reply

ibanham1-VisitorAnswer
1-Visitor
February 29, 2016

Hi

Slightly tricky as the Master usually acts as a container for multiple other mashups. I think you have two options...

1) All of your child mashups need to have the same collection of Mashup Parameters. When you define your master, set the default content to be one of these mashups, you should then be able to bind to the mashup parameters of the child mashup. The binding will still work even when you change child mashups as long as the new child mashup has the same parameters.

2) Use session parameters, you can extend these from the default Entity and ZoomLevel by adding a ThingShape containing the properties you require to the UserManagment SubSystem.

Hope this helps

Regards

Ian

chrish1-VisitorAuthor
1-Visitor
March 1, 2016

Session Parameter did the trick. Not as elegant as I'd hoped, but it worked.