Widgets in ThingWorx Solutions
Widgets are the visual components of ThingWorx mashup pages. They include components such as dashboard widget that enables you to display other widgets, for example, a list widget.
Widgets can be used to render data or perform an action. For example, data rendering widgets, such as a chart or table, have incoming data bindings. When a data service is executed, the data result set is bound to the widget for rendering.
Widgets such as buttons may not have incoming data bindings but may have an outgoing event binding. For example, if the user clicks a button, it can trigger an event that may be outward bound to a data service. On a button click, the data service is executed on the server.
For creating your solution, you can use the out-of-the-box widgets or create your own custom widgets.
Types of Widgets
In the ThingWorx Platform, the widgets are classified into three major categories:
Standard—These are the existing widgets in the ThingWorx Platform. You can add these widgets to new and existing mashups.
Themable—Widgets that you can style by applying a style theme.
You can add these widgets only to Responsive (Advanced) mashups.
Legacy—Legacy widgets are replaced by a standard widget that supoorts theming or a function. These widgets will be deprecated in a future release.
Depending on your solution requirements, use the out-of-the-box widgets or create your own custom widgets.
See the section Widgets for details on how to use the out-of-the-box widgets.
To create your own custom widgets, see the section Adding Custom Widgets.
When you add custom widgets, ensure that you create secure widgets. See the section Creating Secure Widgets for more information.
Was this helpful?