Skip to main content
1-Visitor
December 11, 2017
Solved

Any way to view code for OOTB widgets?

  • December 11, 2017
  • 2 replies
  • 2093 views

Hi guys

Is there any way to view the code used by the built-in or out-of-the-box ThingWorx widgets?

I'm building a custom time series chart extension and need to include a loading or busy indicator for a data load in progress, to show that there's something happening.

The only widget I'm aware of that uses such an indicator is the built-in OOTB Time Series Chart widget that comes with ThingWorx. I don't know of any custom extensions using a busy indicator and as such, I have no idea how to do it.

Could anyone provide me with a way to view the code or to implement a busy indicator?

    Best answer by posipova

    You can modify any of the existing widgets located in the following path

    <tomcat install location> \webapps\Thingworx\Common\thingworx\widgets

    We do recommend to back up the original widget if you choose to modify.

    2 replies

    posipova20-TurquoiseAnswer
    20-Turquoise
    December 11, 2017

    You can modify any of the existing widgets located in the following path

    <tomcat install location> \webapps\Thingworx\Common\thingworx\widgets

    We do recommend to back up the original widget if you choose to modify.

    1-Visitor
    December 12, 2017

    Hi Polina / Konrad,

    I think that instead of modifying OOTB widgets directly on the original code, it's better to just create a new widget based on the original OOTB widgets, they can coexist perfectly we had done it succesfully for the last 2 Years and on that way you can always compare OOTB with the Custom One on TW platform updates.

    Just my two cents,

    Carles.