Articles in this section
Category / Section

How to Publish Custom Widgets to Another Site in kubernetes environment?

Published:

How to Publish Custom Widgets to Another Site

In this article, we will guide you through the process of publishing custom widgets from one site to another using Bold BI.

Prerequisites

  • Bold BI installed on your system
  • Access to the User Management System (UMS) sites
  • Access to the data service pod

Steps to Publish Custom Widgets

  1. Retrieve the master site’s client ID: Navigate to the UMS sites and select the master site to obtain the site’s unique GUID.rte_image_120.png

  2. Exec the data service pod: Run the following command:

    kubectl exec -it [dataservice_pod_name] bash -n [namespace]
    

    Replace [dataservice_pod_name] with the actual name of the data service pod, and [namespace] with the appropriate namespace.

  3. Navigate to the Bold BI installation directory: Execute the following commands, replacing the highlighted GUID with the client ID copied in Step 1:

    cd /application/app_data/bi/[client_id]/CustomWidgets
    wget https://s3.amazonaws.com/files2.syncfusion.com/Installs/BoldBI/07-06-2023/Movingcustomwidgetstomultiplesites.zip
    
  4. Unzip the file: Run the following command:

    unzip -o Movingcustomwidgetstomultiplesites.zip
    
  5. Execute the utility: Run the command:

    dotnet Movingcustomwidgetstomultiplesites.dll
    
  6. Select the appropriate option: Choose the first option to move all the custom widgets available in the current site to all the sites available in the Bold BI server.

            rte_image_121.jpeg
        7. Update the recently updated custom widget: Choose the second option to move the recently updated custom widget available in the current site to all the sites available in the Bold BI server.
          rte_image_122.png
           8. Update the recently updated custom widget in existing sites: Choose the third option to update the recently updated custom widget available in the current site to all the sites which already have the same widget.
          rte_image_123.jpeg

For your requirement, you can use the first option to move the custom widgets available in the source site to the target site to render the dashboards after publishing. If you want to edit the published dashboard in the target site designer, you can enable custom widgets in the widget’s settings page as described in the Bold BI documentation.

Additional References

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