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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Adding Properties to Master Mashups ("Masters")?

chrish
12-Amethyst

Adding Properties to Master Mashups ("Masters")?

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?

ACCEPTED SOLUTION

Accepted Solutions
ibanham
12-Amethyst
(To:chrish)

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

View solution in original post

2 REPLIES 2
ibanham
12-Amethyst
(To:chrish)

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

chrish
12-Amethyst
(To:ibanham)

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

Announcements


Top Tags