Articles in this section
Category / Section

How to change the schema for PostgreSQL without affecting the Widget configuration

Published:

In Bold BI, widgets in dashboards won’t be affected when we’re adding any new column to the database server used in the data source. The same is applicable when you are removing/deleting any unused column from the PostgreSQL.

Please find the following Example for your reference

  1. For instance, consider a table with 6 columns as follows.

    image.png

  2. Configure the Widgets using the create data source.

    image.png

  3. We have done the widget configuration and published the dashboard.

    image.png

  4. Now we have made some changes in our database for which it was already configured in bold BI. For instance: Deleting a unused Column called “epocch” and adding a new column as “phone”

    image.png

How to use the newly added database column in the widget configuration.

Usually, the data source will not automatically refresh the schema changes. For live mode, we need to edit the data source and execute it to get the changes from our PostgreSQL Server.

  1. Now go to your configured dashboard in Bold BI, click on edit connection.

    image.png

  2. You’ll redirect to the dashboard designer page, click on the edit connection icon present at the left side data sources tab.

    image.png

  3. Click on the Run button to refresh the data sources.

    image.png

  4. Click update to get the data preview at the bottom

    image.png

  5. Now ensure all your data are reflected from the server and click on the Save button to proceed further.

    image.png

  6. You are all set. Now the designer page will re-render your data from the server without any loss in the widgets. Publish the widgets to save it.

    image.png

  7. Our Newly Configured dashboard will look like below, without any loss in data and widgets.

    image.png

Additional References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Reethika Moovendhan
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied