Category / Section
Switch Data Source in the Dashboard Without Losing Widget Configuration
Published:
It is possible to change the data source for the widgets without losing configuration, as long as the schema of the new data source matches that of the existing one. However, if the new data source does not have the same fields, they will be removed from the widget’s configuration.
Follow the steps provided below:
- Edit the dashboard for which the data source has to be switched.
- Use the existing data source or create a data source that returns fields similar to the ones in the data source. Ensure that you also create any necessary expressions, parameters accordingly.
- To use the existing data source, click Use Existing from the data source panel and Add the required data source
- Once the data source is added, click on the Widget, access the Widget settings and navigate to the Assign Data panel.
- Select the desired data source from the drop-down menu to switch.
- A notification prompt will appear to inform you of the switch.
- Please click on “Yes” in order to continue. The widgets configuration will be saved as long as it meets the required condition.
Each widget must have its data source changed individually; it is not possible to change the data source for the entire dashboard at once.
- Publish the dashboard and utilize it for future purposes.
Always take a copy/backup of the dashboard before switching the data source