Just to add to what Yamini already mentioned. Gadgets are reusable mashups that can be added to the Dashboard as many times as you can. You need to create a mashup called GadgetLibraryMashup and add the Gadgets to it first. Because GadgetLibraryMashup contains the Gadgets that can be added to the Dashboard.
Below are the steps on how to create Gadget, Gadget Library Mashup and Dashboard Mashup from the help center. Hope it helps!
Dashboards are made up of gadgets. Gadgets are reusable contained mashups that have additional metadata to handle the sizing requirements of a dashboard. Any widget and service can be used in a gadget, and gadgets can display historical or current data. Gadgets contain predefined parameters, and are available in several predefined sizes (1x1, 2x2, etc.).
Gadgets can be created to allow the end user to dynamically assign the displayed property values. For example, multiple display gadgets (LED, gauge, or chart) can be created so that the user can choose how they want to see their temperature data displayed on their dashboard.
Gadgets are versatile because they can be used in many different scenarios. Gadgets can be:
- embedded in any mashup
- standalone applications
- embedded as a screen in another application
Creating a Gadget
- In ThingWorx Composer, click Gadgets, and then click the green plus sign (+).
- Choose the appropriate gadget column layout.
- Click Done.
- Add and configure widget(s) to the gadget mashup. Use the mashup parameters to provide the greatest amount of flexibility and interchangeability of the gadget.
- Click Save.
Creating a Gadget Library Mashup
A gadget library mashup contains the gadgets that will be available on the dashboard. This mashup is linked to the dashboard mashup. This process is the same as creating a mashup for non-dashboard purposes.
- In Composer, click Mashups, and click the green plus sign (+).
- Select a mashup type.
- Click Done.
- Configure the mashup as necessary by dragging the desired gadgets from the Mashups pane onto the mashup.
- Click Save.
Creating a Dashboard Mashup
A dashboard mashup contains the dashboard widget and is linked to the gadget library mashup.
- In Composer, click Mashups, and click the green plus sign (+).
- Select the mashup type.
- Click Done.
- Drag the dashboard widget into the mashup designer window.
- In the mashup parameters window, in the MashupToAddGadgets field, use the magic picker to select the previously created gadget library mashup.
- Click Save.