Creating Widgets
1. Choose the ThingWorx menu and select New Widget.
2. Select the parent project.
3. Enter a name and description.
4. Click Finish.
A new folder under the /ui folder is created and contains the JavaScript and CSS files for the widget. The metadata.xml file is updated automatically.