Page 1 of 1

TM1 Web login: How to set a default TM1 server

Posted: Mon Jul 06, 2015 9:30 am
by Olivier Bonomini
Hello,

We have four different Tm1 Server (instances) on our application server (10.2.2 FP3 with CAM security) which get listed alphabetically in the TM1 Web Login page. The page always defaults on the first one in the alphabet "Corporate". We were wondering if it is possible to have another Tm1 server show as default choice in the drop down list.
We saw that it is possible to set a Default Tm1 server in the webcofig file but that would also, i think, remove the tm1 server down down list? We would like to keep the drop down but just set it to our second server in the list "E-Corporate" to show as default. Is that possible?

Thanks for any support.

Re: TM1 Web login: How to set a default TM1 server

Posted: Mon Jul 06, 2015 2:23 pm
by BariAbdul

Re: TM1 Web login: How to set a default TM1 server

Posted: Mon Jul 06, 2015 3:46 pm
by Olivier Bonomini
Thanks BariAbdul for your reply.

In the webconfig this can be entered:
<add key="TM1ServerName" value="ServerName"/>
•If ServerName is set to a valid TM1 server name, then the login page does not display a prompt for either the Admin Host or the TM1 server.

... meaning that it would just preset a tm1 server and disable the drop down completly. We would like to keep the dropdown but preset a default instance to be selected when the login page opens. This might seem like overkill but with hundreds of people loggin in on the solution quite a lot of people leave it wrongly on the default.

If there are no standard settings i guess this is hidden in some jsp files?

Re: TM1 Web login: How to set a default TM1 server

Posted: Tue Jun 14, 2016 11:32 pm
by macsir
Can we specific some TM1 servers into that drop-down list? rather than all available servers?

Re: TM1 Web login: How to set a default TM1 server

Posted: Wed Jun 15, 2016 5:55 am
by lotsaram
macsir wrote:Can we specific some TM1 servers into that drop-down list? rather than all available servers?
You either specify a particular server or get a drop down list of all servers available on the admin host.

If you want to control it you can use a url redirect to bounce users into TM1 web with a particular server selected.

Re: TM1 Web login: How to set a default TM1 server

Posted: Fri Jun 17, 2016 4:17 am
by macsir
lotsaram wrote:
macsir wrote:Can we specific some TM1 servers into that drop-down list? rather than all available servers?
You either specify a particular server or get a drop down list of all servers available on the admin host.

If you want to control it you can use a url redirect to bounce users into TM1 web with a particular server selected.

thanks, lotsaram. I just want to hide some servers. Looks like there is no choice here.

Re: TM1 Web login: How to set a default TM1 server

Posted: Tue Jul 05, 2016 4:24 pm
by Michel Zijlema
macsir wrote:
lotsaram wrote:
macsir wrote:Can we specific some TM1 servers into that drop-down list? rather than all available servers?
You either specify a particular server or get a drop down list of all servers available on the admin host.

If you want to control it you can use a url redirect to bounce users into TM1 web with a particular server selected.

thanks, lotsaram. I just want to hide some servers. Looks like there is no choice here.
You can register the TM1 servers on different admin hosts and point TM1Web to the admin host with the 'public' TM1 servers only.

Michel

Re: TM1 Web login: How to set a default TM1 server

Posted: Tue Jul 05, 2016 5:06 pm
by lotsaram
That's a nice trick. It doesn't quite get you to where the OP wants but it does get you closer.

Re: TM1 Web login: How to set a default TM1 server

Posted: Wed May 13, 2020 2:53 am
by abcthing
Open the ibm\cognos\tm1_64\webapps\tm1web\scripts\tm1web\standalone\TM1WebApp.js, and search this._serverNameSelect.set("value",a[0].value), and change 0 to 1

https://www.tm1forum.com/viewtopic.php?t=15284