Extension - ThingTemplate - SetHomeMashup
Hi,
I am developping an extension for ThingWorx, and I can't find a way to set the HomeMashup for a ThingTemplate.
I tried using com.thingworx.entities.RootEntity.SetHomeMashup(String name) with my template mashup's name, in initializeEntity() and in initialiazeThing(), but when I load my extension on the server the HomeMashup setting is blank.
I tried setting it with a JavaScript service on the server, and it works :
var params = {
name: "SLBTemplateMashup" /* MASHUPNAME */
};
// no return
ThingTemplates["SLBThingTemplate"].SetHomeMashup(params);
Is there another way to set the HomeMashup on a ThingTemplate from the extension ? Am I missing something ?
Thank you for your answers.

