OBIEE Multi-Environment Quick Login

Here’s a little snippet that can save time if you often need to switch between multiple OBIEE instances (Local, Dev, QA, Prod etc.) It can be a pain to type your username and password over and over so I came up with a one-click launch page.

I like set my browser home page up with all my frequently used links, system login information and RSS feeds etc. You need a little HTML knowledge to build such a page but it’s not too difficult.

Anyway, part of my launch page contains an HTML form with the username and password embedded as hidden fields. It’s then a simple click to log in to any given instance. Here’s the code:

<title>OBIEE Quick Launch Page</title>
function setActionAnalytics(){
f = document.forms[0];
for (i=0;i<f.server.length;i++){
if(f.server[i].checked) {
tt = ‘http://’+f.server[i].value;
tt+= ‘:9704/analytics/saw.dll?bieehome’;
f.action = tt; break;
<body onload=”setActionAnalytics()”>
<form id=”logonForm” method=”post” action=””>
<input type=”hidden” name=”NQUser” value=”weblogic” />
<input type=”hidden” name=”NQPassword” value=”weblogic123″ />
<input type=”hidden” name=”selectlanguage” value=”en” />
<input type=”radio” name=”server” value=”localhost”
onclick=”setActionAnalytics()” checked=”true” />Local<br />
<input type=”radio” name=”server” value=”dev-server-name”
onclick=”setActionAnalytics()” />Dev Server<br />
<input type=”radio” name=”server” value=”qa-server-name”
onclick=”setActionAnalytics()” />QA Server<br />
<input type=”radio” name=”server” value=”prod-server-name”
onclick=”setActionAnalytics()” />Prod Server<br />
<input type=”submit” value=”Sign In” />
I also have a similar form for logging in to Weblogic Administration Console which I can share if required.