Importing Dashboards
You can import dashboards to Presto Freeform.
The dashboards are saved in a zip file that contains among other things the dashboard definition, resource policy and dashboard permissions. If you import a dashboard including the permissions then the creator of the dashboard can view and edit the dashboard. Importing dashboards without the relevant permissions makes the importer automatically to the creator of these dashboards.
Procedure
1. Open a command window and move to the presto-install/prestocli/bin folder.
2. Enter this command:
padmin importDashboards [-l prestoURL] -f input-file -p importPermissions
-u username -w password [-v] [-o]
-f input-file: path and name for the import zip file.
-p importPermissions Imports the resource policy and permissions saved in the import zip file.
If you import dashboards without permissions makes the importer automatically to the creator of these dashboards and the dashboards has no explicit permissions which means that only administrators can see and work with the dashboards.
-o: is optional. Allows to overwrite an existing dashboard in
Presto Freeform.
-l prestoUrl: is optional. Use this if the
Presto Server is remote or if it is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to
http://localhost:8080/presto/esd/api.
-u username: is the
Presto username to log in with. This account
must have
Presto administrator permissions.
-w password: is the
Presto 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 Presto Freeform.
If you have imported dashboards from Presto 3.9 in Presto 9.9 then save the imported Dashboards in the edit mode of Presto Freeform before you display them in the view mode. Otherwise an error message will be displayed.