We are trying a include Dashboards in the default tenant to all the tenants' users' menu. But when we are editing the menu in the tenant User Settings, we are not able to see the dashboards.
How can we allow dashboards created in the default tenant to be available to all other tenants?
DX NetOps CAPM Release : 21.2
Component : PM Web UI Admininistration/Configuration
Export the dashboards first by identifying the ID:
So do a GET REST call on the URL of the dashboard ID as per:
TechDocs : DX NetOps 21.2 CAPM : Export a Dashboard or On-Demand Report Template
From the above example, you get the ID by looking at the URL and identifying the value after 'pg=':
https://<CAPC_HOST>/pc/desktop/page?mn=3&globalsearchtype=names&pg=2026315&startTime=2022-04-26+09%3A13&endTime=2022-04-26+10%3A13&globalsearchtext=&GroupPathIDs=1&timeRange=0&GroupID=1&sid=&parentid=2000000
From this, the ID is the value of:
pg=2026315
Then using that value, you target it with the following GET request:
http://<PC_host>:8181/pc/center/webservice/dashboards/2026315
This returns:
Then to import, you would use a REST POST request with the returned XML shown above but targeting the Tenant admin user whom you want to share the dashboard with. So you would configuring the REST client authentication to CAPM using the Tenant admin user login/password.