Skip to main content
1-Visitor
November 23, 2018
Solved

Import/export dashboards

  • November 23, 2018
  • 1 reply
  • 2059 views

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.

Best answer by awalsh

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

1 reply

awalsh5-Regular MemberAnswer
5-Regular Member
November 23, 2018

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