I (and also some partners) have built a number of vertcal applications based on Application Builder tool and now we need to move all dashboards to cokpit in the same tenant.
Error messages / full error message screenshot / log file:
Question related to a free trial, or to a production (customer) instance?
What is the best / simplest way to do that without havoing to recreate all dashboards in cockpit
I’m not 100% familiar with all the possible dashboard usecases in app builder.
I’ve been able to migrate some app builder dashboards, I’ve created for testing purposes, using the attach nodejs project into cockpit reports. migrate-app-builder-dashboards.zip (3.8 KB)
Inside the nodejs project you would need to adjust the baseUrl, tenantId, username and password variables in the index.js file.
Afterwards you need to install it’s dependencies using npm ci command and you can then start it using node .
The dashboards can afterwards be found in the Reports section of the cockpit app. You might need to install any none default widgets into cockpit.
Functionality whise, the script does the following things:
Get all app builder dashboards (managedObjects with the c8y_Dashboard!name!app-builder-db fragment)
Per app builder dashboard create a report managedObject
Link the report managedObject to the app builder dashboard