How to render mashup in the custom widget ?
Hi
How can I render mashup in the custom widget ? something like the Collection widget . But I couldn't find the client API to render a mashup by it's name . Anyone knows it ?
Regards,
Sean
Hi
How can I render mashup in the custom widget ? something like the Collection widget . But I couldn't find the client API to render a mashup by it's name . Anyone knows it ?
Regards,
Sean
Hi,
you can look into the source code of the standard widgets when you have access to the twx-server. The formatted widget code can found in tomcatfolder (in my case /usr/share/tomcat8.5/8.5.41/webapps/Thingworx/). You can find the code for build time under Builder/mashup-common-widget-builder.js and the runtime code under Runtime/mashup-common-widget-runtime.js. Inside this you can search for TW.Runtime.Widget.mashupcontainer
I hope this helps a bit.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.