Skip to main content
1-Visitor
December 5, 2014
Question

ThingShape Home Mashup not inherited

  • December 5, 2014
  • 1 reply
  • 3800 views

Greetings,


I've created a ThingShape which contains some properties and a HomeMashup which i wish other Things to use.

When i create MyThing and inherit from GenericThing Template and implement MyThingShape, MyThing HomeMashup is not set to the HomeMashup defined for MyThingShape.


If i create a property on MyThingShape named primaryMashup and give it a default value, then MyThing inherits the properties with the value set.


Is this a bug, or is it not possible to inherit the HomeMashup from a ThingShape?



    1 reply

    1-Visitor
    December 5, 2014

    Since a ThingTemplate and thus a Thing can be made up of many ThingShapes, the ThingShape home mashup does not inherit forward into the Template and Thing.

    You will need to set the Home Mashup on the ThingTemplate level.

    13-Aquamarine
    September 25, 2017

    Is it possible to set a 'Template mashup' with an 'EntityName' mashup parameter as the home mashup for a Thing Template ? So that when you open the home mashup for a Thing that implements the template, that Thing's entityname is passed to the mashup parameter ?

    16-Pearl
    September 25, 2017

    I'm intrigued what you are trying to achieve.