Mashup Builder > The Mashup Builder Workspace > About the Data and Data Properties Panels
About the Data and Data Properties Panels
Use the Data panel to add ThingWorx data entities to your mashup. An entity is a ThingWorx object, such as a Thing, Thing Shape, Thing Templates, subsystem, stream, and data tables. Each entity contains a number of services that you can use in your mashup. Data services can retrieve data or perform an action within a ThingWorx entity. You can bind services to the bindable properties of mashups, widgets, and functions.
A data service can have required input parameters, or returned data from a ThingWorx entity. For example, a service that removes an entry from a data table requires an input parameter that contains a string value with the entry to delete.
Data Panel
The Panel Interface
1. The name of the data entity.
2. The data service name.
3. The data service property.
The following commands are available on top of the panel:
Add Data—Opens the Add Data dialog box, where you can select ThingWorx entities and data services to use in the mashup.
Reset Data—Updates the Data panel.
You can control entities on the panel in the following ways:
Info Button—Displays the data entity preview. You can view or edit the data entity.
Add Services—Opens a dialog box where you can add additional data services from the data entity.
Delete Data Entity—Removes the selected data entity from the mashup.
Data Properties Panel
When you select a service in the Data panel, its related properties appear in the Data Properties panel. You can bind events in a service to trigger other services using the ServiceInvokeCompleted event. The name of the selected data service is displayed on the panel in the following format: <DataEntityName>:<ServiceName>
To configure the selected service, click on the Data Properties panel. This opens the service configuration dialog box, where you can manage notification message and bindings. Click Delete Data Entity to remove the selected data service from the data entity.
Was this helpful?