How to Publish Custom Widget to Another Site in Multi Container Docker
Prerequisites
- Bold BI installed on your system
- Access to the User Management System (UMS) sites
- Access to the data service container
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.
Bash the dataservice container: Run the following command:
docker exec -it [dataservice_container_name] bash
Replace
[dataservice_container_name]
with the actual name of the data service container.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.