Skip to main content
1-Visitor
October 25, 2017
Question

How to use Polymer web components(Polymer.html) in thingworx in creating Custom widget

  • October 25, 2017
  • 1 reply
  • 1499 views

I tried to use Polymer web components(Polymer.html) library file  in thingworx in creating Custom widget.

I have placed the polymer.html file under " ui/Widgetname " and mapped it in the runtime.js file.

When I tried to run add this custom widget in the Mashup and runs ,  it throwing an error  like " Polymer is Undefined".

Kindly help me in resolving this issue.

    1 reply

    5-Regular Member
    November 6, 2017

    Hello, Avinash G.

    While not having any specific experience with Polymer, you should be able to use any external libraries you want in a custom extension, so long as you include the necessary libraries in the build path. You'll have to look up the syntax to use for this purpose based on how you are developing the widget.

    Thanks,

    -- Craig A.