Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hello everyone,
so I was wondering how you can use a Thing Template Mashup (or a dynamic Mashup) as the Home Mashup of a Thing. Since the Thing Template Mashup needs the name of the thing passed as a parameter, I wonder how to achieve this?
Ideally I would like to call the "GetHomeMashup" service and have the Mashups parameters be the name of the thing I called the service on. Of course I am open for a custom service which returns the Mashup with the set parameter.
Any help is appreciated very much.
Best Regards,
Dominik
Solved! Go to Solution.
Hi Dominik,
If I create a ThingTemplate Mashup, and assign it as the Home Mashup for a Thing it will automatically pass the Entity name to the mashup content (I used a label bound to the Entity mashup parameter to test the behavior). I believe what you want to do is how I already used it in the past, so if you can clear your use-case further, I would be happy to help you.
Thanks,
Hi Dominik,
If I create a ThingTemplate Mashup, and assign it as the Home Mashup for a Thing it will automatically pass the Entity name to the mashup content (I used a label bound to the Entity mashup parameter to test the behavior). I believe what you want to do is how I already used it in the past, so if you can clear your use-case further, I would be happy to help you.
Thanks,
Hello @VladimirRosu,
thank you very much for your reply. Setting the ThingTemplateMashup as HomeMashup for a Thing did the trick.
I had multiple Things with different Thing Templates that implemented the same Thing Shape. I wanted to display their Template Mashups in a Contained Mashup Widget once one of the things gets selected from a List.
By setting the TemplateMashup as HomeMashup, I was able to achieve this.
Best Regards,
Dominik