If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

customize cognos8.4 logon page

Started by hiranb, 20 Mar 2012 08:51:51 AM

Previous topic - Next topic

hiranb

Hi,

When users logon to cognos namespace then I have to display some text above the 'Please type your credentials for authentication.'on the logon page. Could anyone let me know if this is possible? thanks


hiranb

I went through those articles which mention about welcome page but not logon page. I would like modify changes on logon page not on the cognos connection. Thanks for the info.

Grim

"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

hiranb

This article does not apply for cognos 8.4

joe123

You can create a custom login page to show up any information you want.

taken from http://www-01.ibm.com/support/docview.wss?uid=swg21382294

<html>
<head>
<title>Using URLs</title>
</head>
<body>

<script language="JavaScript">

function submitForm() {

//submit the form and redirect to a new window
repWindow = window.open(document.logon.submit());

//this alert slows down the window open/close allowing the form to be submitted
alert("Transfering to Cognos Connection");
repWindow.close();
location.href= 'http://localhost/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/cc.xts&gohome=';
}

</script>

<form  name="logon" method="POST" action="http://localhost/cognos8/cgi-bin/cognos.cgi" >

<input type="hidden" name="h_CAM_action" value="logon"><br> 
<input type="hidden" name="m" value="portal/main.xts"><br>

<input type="hidden" name="b_action" value="xts.run"><br>
<table width="100%" border="0" cellpadding="2">
<tr>
<td colspan="6" height="10" bgcolor="#E7E7E7"></td>
</tr>
<tr>
<td colspan="6"><img src="skins/classic/branding/banner_cogsquare.gif"><font face="Verdana" size="2"><b>Cognos 8 URL Samples</b></font></td>
</tr>

<tr>
<td colspan="6" height="1" bgcolor="#CCCCCC"></td>
</tr>

<tr>
<td colspan="6" bgcolor="#cccce3"><font face="Tahoma" size="3"><b>This SDK sample allows you to Logon to Cognos 8</font></td>
</tr>
<tr>
<td colspan="6" height="4" ></td>

</tr>
<tr>
<td colspan="6" height="1" bgcolor="#003399"></td>
</tr>
<tr>
<td colspan="6" height="4" ></td>
</tr>
<tr>
<td>

<!-- Prompt for userID -->
<font  color="#003399" face="Tahoma" size="2"><b>User ID:</b></font>
</td>
<td align="left">
<input type="text" name="CAMUsername" size="35" ></input>
</td>
<td rowspan="6" colspan="4" width="50%" valign="top"></td>
</tr>

<tr>
<td>
<!-- Prompt for password -->
<font face="Tahoma" color="#003399" size="2"><b>Password:</b></font>
</td>
<td>
<input type="password" name="CAMPassword" size="35" ></input>
</td>

</tr>
<tr>
<td>
<!-- Prompt for namespace -->
<font color="#003399" face="Tahoma" size="2"><b>Namespace ID:</b></font>
</td>
<td>
<input type="text" name="CAMNamespace" size="35" ></input>

</td>
</tr>

<tr>
<td>
<p><button style="background-color: white; font-size: 80%;padding:5px; white-space:nowrap;" onClick="submitForm();"><font color="#003399" face="Tahoma" size="2">Login

</td>
</tr>
</table>
</form>

</body>
</html>



Once, it did something more advanced like that eg with check for cookies. I'll check if i still have the source code.