The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
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.
Solved! Go to Solution.
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
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