The dashboards are saved in a zip containing the dashboard definition, resource policy, and dashboard permissions, etc.. If you import a dashboard including permissions, the creator of the dashboard can view and edit the dashboard. The importer of a dashboard automatically becomes the creator of the dashboard if the dashboard is imported without permissions.
Procedure
Open a command window and move to the <MashZoneNG-installation>/prestocli/bin folder.
-f input-file: Path and name of the import zip file.
-p importPermissions: Imports the resource policy and permissions saved in the import zip file.
The importer of a dashboard automatically becomes the creator of the dashboard if the dashboard is imported without permissions. And only administrators can see and work with the dashboards imported.
-o: is optional. Allows overwriting an existing dashboard in MashZone NextGen Dashboard.
-l prestoUrl: Optional. Use this if the MashZone NextGen Server is remote or if it is not running in Tomcat on the default Tomcat port. If you omit this option, this results in http://localhost:8080/mashzone/esd/api.
-u username: is the MashZone NextGen user name to log in with. This account must have MashZone NextGen administrator permissions.
-w password: is the MashZone NextGen password to log in with.
-v: is an optional flag to turn on verbose logging.
Once the import command completes successfully, you can use the imported dashboards in MashZone NextGen.
If you have imported dashboards from Presto 3.9 into MashZone NextGen, save the imported dashboards in edit mode of the widget before you display them in view mode. Otherwise, an error message is displayed.