Hi guys,
I'm trying to get a regular html landing page to load when the user successfully logs into Tm1web. Previously in 10.1 using IIS I just had to put the html file in
c:\inetpub\wwwroot\main.html
in the web config file (for 10.1) I'd have
<add key="HomePageObject" value="http://192.168.45.55/main.html;Type=URL ... write=true" />
when a user logs into the web they see the landing page contained at http://192.168.45.55/main.html
In 10.2 I've got the same html file and placed it here:
C:\Program Files\ibm\cognos\tm1_64\webapps\tm1web\main.html
the new web config file has the same setting as before:
<add key="HomePageObject" value="http://192.168.45.55/main.html;Type=URL ... write=true" />
This doesn't load the html page. I assume the html file is in the wrong location on the web server?
I've also tried these formats:
<add key="HomePageObject" value="main.html;Type=URL;Description=Main;AllowOverwrite=true" />
<add key="HomePageObject" value="C:\Program Files\ibm\cognos\tm1_64\webapps\tm1web\main.html;Type=URL;Description=Main;AllowOverwrite=true" />
Could someone tell me the location to place the html file and the syntax of this line in the tm1web.config.xml file to use to reference it.
Once I can use a browser to go to http://servername/main.html and load the page all will be fine but to get the equivalent "root directory" for Apache tomcat is what I'm missing I think.
thanks.
Landing page in Tm1 web in 10.2
-
- Posts: 141
- Joined: Wed Nov 14, 2012 10:37 am
- OLAP Product: TM1
- Version: 2.0
- Excel Version: Office 365
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Landing page in Tm1 web in 10.2
Have you done a search for main.html? Also tomcat deplys using war files. Theye are basically zip files. You should be able to open them using 7zip or winrar. Have you checked the war files. As you may have guessed I haven't hit 10.2 web yet so I'm only going off previous tomcat experience,
Jim.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 141
- Joined: Wed Nov 14, 2012 10:37 am
- OLAP Product: TM1
- Version: 2.0
- Excel Version: Office 365
Re: Landing page in Tm1 web in 10.2
Thanks for the pointers Jim.
The main.html is the file that I created that I want to be the landing page. I can put it anywhere. Currently it's not in the 'correct' location - I'm not sure where it should go to be able to browse it at the 'root' of the web server so I can go to http://servername/main.html and see the page in the browser.
I've seen the tm1web.war file at this location
C:\Program Files\ibm\cognos\tm1_64\webapps
it has a number of files inside but I'm again not sure if I should be inserting my html file into this war file to be able to get it to be the landing page. I've seen a few html and jsp files in that war file but I can browse any of them from a browser by inserting their name after the server name.
eg. I can see a dummycall.html in this war file but if I try to browse to http://servername/dummycall.html I don't see this html file.
thanks for the info though. Will keep looking.
regards.
The main.html is the file that I created that I want to be the landing page. I can put it anywhere. Currently it's not in the 'correct' location - I'm not sure where it should go to be able to browse it at the 'root' of the web server so I can go to http://servername/main.html and see the page in the browser.
I've seen the tm1web.war file at this location
C:\Program Files\ibm\cognos\tm1_64\webapps
it has a number of files inside but I'm again not sure if I should be inserting my html file into this war file to be able to get it to be the landing page. I've seen a few html and jsp files in that war file but I can browse any of them from a browser by inserting their name after the server name.
eg. I can see a dummycall.html in this war file but if I try to browse to http://servername/dummycall.html I don't see this html file.
thanks for the info though. Will keep looking.
regards.
-
- Posts: 141
- Joined: Wed Nov 14, 2012 10:37 am
- OLAP Product: TM1
- Version: 2.0
- Excel Version: Office 365
Re: Landing page in Tm1 web in 10.2
Just found something that'll work.
If you stick the html file in C:\Program Files\ibm\cognos\tm1_64\webapps\tm1web
then in the webconfig file just put the tm1web folder name into the homepage object like so:
<add key="HomePageObject" value="http://servername/tm1web/main.html;Type ... write=true" />
Now when the user logs into Tm1web they'll get the landing page.
If you stick the html file in C:\Program Files\ibm\cognos\tm1_64\webapps\tm1web
then in the webconfig file just put the tm1web folder name into the homepage object like so:
<add key="HomePageObject" value="http://servername/tm1web/main.html;Type ... write=true" />
Now when the user logs into Tm1web they'll get the landing page.
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Landing page in Tm1 web in 10.2
I'm glad you got it working. Thanks for the info,
Jim.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7