Cannot login to the TM1web when you are using the Cognos 8 security

Product:
Cognos TM1 9.5.1 web and contributor

Symptom:
Cannot login to the TM1web when you are using the Cognos 8 security

Cause:
To allow users to successfully log in to TM1 Web when a TM1 server uses IBM Cognos 8 authentication, a variables_TM1.xml file must be present in the c8_location\templates\ps\portal directory. The variables_TM1.xml file must be configured to include the URL of the web server used to deliver TM1 Web

The variables_TM1.xml file is included as part of the TM1 Viewer Portlets installation

Solution:
Unpack the C8_TM1_Portlets_win32_x.x.x.x.tar file to it´s own folder.
Run the setup.exe from that folder to install the portlets on the Cognos BI servers.

Open file variables_tm1.xml in folder c:\Program Files\cognos\c8\templates\ps\portal
Add the URL to the TM1 server in the file, like below:

<urls>

<url>http://tm1servername/tm1web/TM1WebLoginHandler.aspx</url>
<url>http://tm1servername/tm1web/TM1WebMain.aspx</url>
<url>http://servername.domain.se/tm1web/TM1WebLoginHandler.aspx</url>
<url>http://servername.domain.se/tm1web/TM1WebMain.aspx</url>

</urls>

Save the file and restart the Cognos BI services.

Please note that you must also in the TM1 cube file tm1s.cfg change these parameters;

.
IntegratedSecurityMode=5
.
.
ServerCAMURI=http://biservername:9300/p2pd/servlet/dispatch
ClientCAMURI=http://biservergatewayname/cognos8/cgi-bin/cognos.cgi
ClientPingCAMPassport=900
CAMPortalVariableFile=portal\variables_TM1.xml
.

www.cogknowhow.com