How to Publish Custom Widgets to Another Site in kubernetes environment?
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
Retrieve the master site’s client ID: Navigate to the UMS sites and select the master site to obtain the site’s unique GUID.
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.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
Unzip the file: Run the following command:
unzip -o Movingcustomwidgetstomultiplesites.zip
Execute the utility: Run the command:
dotnet Movingcustomwidgetstomultiplesites.dll
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.
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.