Panel Dynamic Inputs
The Dynamic Inputs dashboard panel is used for displaying a set of inputs that can then change how the displayed dashboard works without requiring users to reconfigure the entire dashboard.
Form Fields
-
Panel Name - Name of the panel to be displayed in the panel header.
-
Add - The "Add" button can be clicked to add a text field or a combo box to the panel. Each field type has different configuration options.
-
Text Field
-
Variable Name - The variable name that will be applied to this field. This name needs to be the same as an input to a dashboard panel.
-
Field Width - The width of the field when the dashboard is loaded.
-
Field Label - The label that will be applied to this field, and shown when the dashboard is loaded.
-
Label Width - The width of the label when the dashboard is loaded.
-
Remove - This button can be clicked to remove the input from the panel.
-
-
Combo Box
-
Variable Name - The variable name that will be applied to this field. This name needs to be the same as an input to a dashboard panel.
-
Field Width - The width of the field when the dashboard is loaded.
-
Field Label - The label that will be applied to this field, and shown when the dashboard is loaded.
-
Label Width - The width of the label when the dashboard is loaded.
-
API - The broker Render Type that will be used to display data.
-
Save Value - Whether to pass the name of the thing selected or the ID value.
-
Remove - This button can be clicked to remove the input from the panel.
-
-
Hide Header - Whether or not the panel header should be shown.
-
Width (%) - Limit the panel to a specific percent width of the dashboard, ranging from 10% to 100%.
-
Height (px) - Limit the panel to a specific height in pixels. "Auto" is checked by default. If unchecked, a field will be shown to enter a numerical value for the limit.
Examples
Example 1
Create a dashboard with a dynamic input panel interacting with an event list panel.
Steps
-
Go to the "Dashboards" UI.
-
Add an additional row to the dashboard.
-
In the first drop zone, add a "dashboard -> Dynamic Inputs" panel to the dashboard.
-
Click on the "Configure Panel" button, then set the following:
-
Click on the "Add" button, then select the "Combo Box" option.
-
Variable Name: FilterValue
-
Field Width: 250
-
Field Label: Device
-
Label Width: auto
-
API: Device (combo)
-
Save Value: Display Name
-
Click on the "View" button.
-
-
In the second drop zone, add an "event -> Event List" panel to the dashboard.
-
Click on the "Configure Panel" button, then set the following:
-
Panel Name: Events By Device
-
Filter Type: Device
-
Device Name: (Select any device in the list.)
-
Click on the "View" button.
-
-
In the "Configure Dashboard" section, add a Name: Dynamic Event List
-
Click on the "Submit" button.
-
Go to the "Dashboard Groups" UI.
-
Select the "Root" group, then add the "Dynamic Event List" to the group.
-
Click on the "Submit" button.
-
Go to the "Dashboards" navigation.
-
Click on the "Dynamic Event List" dashboard.