cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Import/export dashboards

sudo_chris
6-Contributor

Import/export dashboards

Hi there,

 

Is it possible to export a dashboard previously made to XML? Once I have made adjustments I would like to import it back. This will also be used when moving dashboards from our development to our production environment.

1 ACCEPTED SOLUTION

Accepted Solutions
awalsh
17-Peridot
(To:sudo_chris)

You can get the xml for a dashboard layout using the --showlayout option on the im viewdashboard command:

im viewdashboard --showLayout "Administrator Dashboard"  > layout_admin_dashboard.xml

You will need to edit the output to remove the details at the beginning and end so you only have the xml contents. And then you can edit the xml.  For more information on the xml format see the Help Center under Creating a Dashboard with XML.

 

When creating or editing a dashboard, you can give the layout xml file:

im createdashboard --layoutFile=layout_admin_dashboard.xml --description="copy of admin" --name=AdminCopy

View solution in original post

1 REPLY 1
awalsh
17-Peridot
(To:sudo_chris)

You can get the xml for a dashboard layout using the --showlayout option on the im viewdashboard command:

im viewdashboard --showLayout "Administrator Dashboard"  > layout_admin_dashboard.xml

You will need to edit the output to remove the details at the beginning and end so you only have the xml contents. And then you can edit the xml.  For more information on the xml format see the Help Center under Creating a Dashboard with XML.

 

When creating or editing a dashboard, you can give the layout xml file:

im createdashboard --layoutFile=layout_admin_dashboard.xml --description="copy of admin" --name=AdminCopy
Top Tags