Skip to main content
17-Peridot
September 14, 2022
Solved

How to find JS code of the standard widgets?

  • September 14, 2022
  • 1 reply
  • 1726 views

Hi Experts,

 

I want to create a UI widget using standard widgets code. Please let me know where I can find the JS code of OOTB widgets like Pie chart ,Button, etc. ?

I tried looking into the installation path of the Thingworx as well as storage path but no luck.

 

Thingworx version in use is 9.3.

Best answer by VladimirN

 Hi,

 

1. There was a similar question before - "Any way to view code for OOTB widgets?": https://community.ptc.com/t5/ThingWorx-Developers/Any-way-to-view-code-for-OOTB-widgets/td-p/508612 

2. GitHub - "ThingWorx Demo Webpack Widget": https://github.com/ptc-iot-sharing/ThingworxDemoWebpackWidget 

1 reply

VladimirN24-Ruby IIIAnswer
24-Ruby III
September 15, 2022

 Hi,

 

1. There was a similar question before - "Any way to view code for OOTB widgets?": https://community.ptc.com/t5/ThingWorx-Developers/Any-way-to-view-code-for-OOTB-widgets/td-p/508612 

2. GitHub - "ThingWorx Demo Webpack Widget": https://github.com/ptc-iot-sharing/ThingworxDemoWebpackWidget 

TanmeyTWX17-PeridotAuthor
17-Peridot
October 7, 2022

Hi,

 

I checked the above path/link but couldn't find OOTB widgets code. I can see only a SVG file there.

Is the location of it is different in case of Thingworx version?

 

I am on Thingworx 9.3. 

6-Contributor
January 24, 2023

Hey even I am struck here. Found any relevant solution?