Use Actions in a Dashboard

Next you'll create a button in a dashboard so you can set the Actions from it. Every time you click on the button, the input value will be required.

  1. In Real Time Visualization > Workbooks, under My Workspace, click on + New Workbook.
  2. Name your Workbook and click Create.
  3. Choose to Go to Data Table Editor.
    Figure 1.


  4. Choose to add a data table type Altair IoT Studio Write and complete the fields as follows:
  5. The value of the Action should be interactive, so you need to define a Parameter to host this input value under the Parameters section.
    Your data table should look as shown below:
    Figure 2.


  6. Click Save and Back to return to the Edit Dashboard view.
  7. On the blank canvas (right half section), sketch a simple square by clicking and dragging on the blank interface.
    This enables the Visualization menu.
  8. Under Control, choose Actions > Button and configure it as follows:
    • Action Mode: Update Data
    • Target Datatable: choose from the dropdown the one you have just created
    • Click on Value and choose Value Source Interactive
    • Customize the rest of the fields as desired
    Figure 3.


  9. Check that the button works as expected by entering a valid Input and confirming your Action has been received in your Thing.