You can hide certain interface elements of your dashboard by adapting the initialization method of the dashboard. The dashboard.init() initialization method is stored in the PerformanceDashboard.jsp file (by default in line 74) in the webapp\assets\flex subdirectory of your Performance Dashboard installation.
The following options are available:
Hide dashboard list
Hide the list of available dashboards displayed after login by usicalling the following method:
…
dashboard.init({"SHOW_DASHBOARD_LIST":"FALSE"});
…
If the list of available dashboards is not displayed, the My dashboards button is not available in an active dashboard.
Hide title bar
Hide the entire title bar of the dashboard by calling the following method:
…
dashboard.init({"SHOW_APPLICATION_CONTROL_BAR":"FALSE"});
…
Hide logout button
To hide the Logout button in the dashboard's title bar, proceed as follows.
…
dashboard.init({"SHOW_LOGOUT_BUTTON":"FALSE"});
…
Hide bookmark button
Hide the bookmark button in the dashboard's navigation bar (see chapter Display menu items) as follows.
…
dashboard.init({"SHOW_BOOKMARK_BUTTON":"FALSE"});
…
Combine options
You can combine several options for hiding interface elements by specifying a comma-separated list of key value pairs as parameters of the initialization method.
Example
If you want to run particular dashboards without cross-dashboard interactions in a browser window, hide the dashboard list and the title bar as follows:
...
dashboard.init({"SHOW_APPLICATION_CONTROL_BAR":"FALSE",
"SHOW_DASHBOARD_LIST":"FALSE"});
...
Then, start the relevant dashboard by specifying the pcdef URL argument.
Use the following URL to display the dashboard of the demo database:
http://localhost:<load balancer port>/ppm/APD_umg_en/start.jsp
?pcdef=umg_dashboard
The static adaptation of the initialization method applies to all dashboards of all clients of your Performance Dashboard installation.