Question
How to use contained mashup from custom widget
Hello,
we are using a custom widget to generate a dynamic HMI depending on the provided configuration. For this we would like to reuse some Thingworx Mashups. Our first try was to use <embed>, but this provides a very poor performance.
What is the correct way of adding embedding Thingworx Mashups into custom widgets? We already tried to debug the mashup-container widget, but couldn't figure out how to reuse it for us.
i.e. we already tried this without success:
TW.Runtime.Workspace.Mashups.Current.rootWidget.appendTo($("customContent"), prop);

