User Console

Contents:

The Pentaho User Console is the Web interface to navigate Pentaho solutions on the BI Server. It was introduced in Pentaho 2.0.

Theming

For some basic theming, you can edit/replace the following files:

Site icon:
${pentaho}/tomcat/webapps/pentaho-style/favicon.ico
${pentaho}/tomcat/webapps/ROOT/favicon.ico

Login page:
${pentaho}/tomcat/webapps/pentaho/jsp/PUCLogin.jsp
${pentaho}/tomcat/webapps/pentaho-style/images/login/start_logo.png

User Console:
${pentaho}/tomcat/webapps/pentaho/mantle/launch/images/ql_logo.png
${pentaho}/tomcat/webapps/pentaho/mantle/logo.png
${pentaho}/tomcat/webapps/pentaho/mantle/logo_bg.png

For more complex theming, you will need to edit the JAR file.

MantleSettings.properties is the main configuration file inside the mantle-<version>.jar file. You can do interesting things like toggling features to show by default and defining Web pages or reports to automatically load (in tabs) when you log in.

Disable "Are you sure you want to navigate away from this page?"

If you wish to disable the warning "Are you sure you want to navigate away from this page? Navigating away from this page may terminate your session. Press OK to continue, or Cancel to stay on the current page" in the Pentaho User Console, you can do so by altering the 'onbeforeunload' reference in the javascript code. Have a look at the following files, which have been generated using Google Web Toolkig (GWT)

  • $biserver-ee/tomcat/webapps/pentaho/mantleLogin/mantleLogin.nocache.js
  • $biserver-ee/tomcat/webapps/pentaho/mantle/mantle.nocache.js
The last two lines of the code contain something like
d.onbeforeunload=function(a){var c,b;try{c=e()}finally{b=f&&f(a)}if(c!=null){return c}if(b!=null){return b}};
find the reference 'd.onbeforeunload' and change this bit to
d.onbeforeunload=null;
This will disable the mentioned warning when user tries to navigate away from the page.

On Linux, you can check all files in the biserver-ee directory if any of them contain the same reference using this code:

find . -exec grep -l 'onbeforeunload' {} \;

You will need to restart the server after you have implemented those changes.


Creator: sd on 2009/03/16 12:07
XWiki Enterprise 1.7.2.16857 - Documentation