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

How to find JS code of the standard widgets?

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.

VladimirNAnswer
24-Ruby IV
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 

4 replies

VladimirN24-Ruby IVAnswer
24-Ruby IV
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 

Translate
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. 

Translate
6-Contributor
January 24, 2023

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

Translate