calling the web page
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
calling the web page
Hi,
When I am trying to call the log page for open type= "path of the sheet", the part in the path .}External is converting to %7d after pasting it on url. The result is BAD REQUEST.
This link i tried on client network and I got bad request.
But when I tried on another server for full path from tm1web to sheet name the result is credentials window is poping up.
This link I tried on local machine and it is asking credentials.
I am clue less for this, please help me.
Thanking you
When I am trying to call the log page for open type= "path of the sheet", the part in the path .}External is converting to %7d after pasting it on url. The result is BAD REQUEST.
This link i tried on client network and I got bad request.
But when I tried on another server for full path from tm1web to sheet name the result is credentials window is poping up.
This link I tried on local machine and it is asking credentials.
I am clue less for this, please help me.
Thanking you
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: calling the web page
Likewise I am quite clueless what you are asking. Can you try expressing a question?
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
Hi,
What I am trying is Using TM1object path to open a websheet object.
http://wbsvr/TM1Web/TM1WebMain.aspx?act ... ube$$Price
action=OpenObject&type=Cubeviewer&value=SalesCube$$Price, here in place of cube name I tried to give my sliced exceel sheet name.
TM1://ServerName/blob/PUBLIC/.\}Externals\TM1_Filename when I enterd this syntax with my file name I am getting an error as BAD REQUEST.
on the url addrees in place of .\}Externals, it is coming as %7DExternals. This is my issue.
thank you.
What I am trying is Using TM1object path to open a websheet object.
http://wbsvr/TM1Web/TM1WebMain.aspx?act ... ube$$Price
action=OpenObject&type=Cubeviewer&value=SalesCube$$Price, here in place of cube name I tried to give my sliced exceel sheet name.
TM1://ServerName/blob/PUBLIC/.\}Externals\TM1_Filename when I enterd this syntax with my file name I am getting an error as BAD REQUEST.
on the url addrees in place of .\}Externals, it is coming as %7DExternals. This is my issue.
thank you.
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
any suggestions
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: calling the web page
I'm not sure what time zone or indeed what plannet you operate from but bumping a thread in a 3 hour window on a Sunday is not going to get you any results or endear you to anyone who might be able to provide an answer.charan wrote:any suggestions
For starters I would suggest not mixing up forward- and backslash within the URL! You could be getting escape character issues with the curly brace or backslash.
You haven't said whether the worksheet in question is loaded to the TM1 server or is an external link to the file system somewhere which could be relevant. As it seems that the file is loaded to the application folder tree as opposed to being an external file why not use the application path URL syntax? This is much easier to deduce even though it may be longer.
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
Hi Lotsaram,
Thank you, the worksheet is loaded to TM1 web.
Thank you, the worksheet is loaded to TM1 web.
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
Hi Lotsaram,
I opening the link now, In sending the parameters for web sheet, the syntax is like title=S1-R2-B2=Actual&title=S1-R3-B3=Jan-2013.
When I enter this titles to the link i mentioned in my previous post it is still going to tm1 web login window, it is not directly opening web sheet.
In adding titles thers is any other special character to be entered other than "&", if yes suggest me.
Thanking you.
I opening the link now, In sending the parameters for web sheet, the syntax is like title=S1-R2-B2=Actual&title=S1-R3-B3=Jan-2013.
When I enter this titles to the link i mentioned in my previous post it is still going to tm1 web login window, it is not directly opening web sheet.
In adding titles thers is any other special character to be entered other than "&", if yes suggest me.
Thanking you.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: calling the web page
Well, let's see....you are not authenticated and you are expecting to go directly to a report without providing any authentication? Think about it.charan wrote:When I enter this titles to the link i mentioned in my previous post it is still going to tm1 web login window, it is not directly opening web sheet.
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
Ho Tomok,
Thank you. Yes, first I must go to authentication page, Once I enter into the TM1 web. I should directly see the report, which is not happening here.
http://localhost/tm1web/TM1WebLogin.asp ... chiseStore.
PLease suggest me after giving the credentials how to enter into the Franchise store directly.
Thanking you.
Thank you. Yes, first I must go to authentication page, Once I enter into the TM1 web. I should directly see the report, which is not happening here.
http://localhost/tm1web/TM1WebLogin.asp ... chiseStore.
PLease suggest me after giving the credentials how to enter into the Franchise store directly.
Thanking you.
-
- Posts: 148
- Joined: Tue Nov 23, 2010 9:04 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2007
Re: calling the web page
Any suggestons please for directly opening the web sheet after login into the TM1 web. After login I need to select Applications-->Folders--> Report--->Report.xls.
It should go directly to Report.xls after login into the TM1 web.
Thanking you
It should go directly to Report.xls after login into the TM1 web.
Thanking you
- Michel Zijlema
- Site Admin
- Posts: 713
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: calling the web page
You can set a hompage for a user (group): in Server Explorer open the Clients/Groups dialog and click the Settings button on the right. This will open up a dialog in which you can specify a homepage - this is the report that will automatically open after login in TM1Web for the selected user(s).charan wrote:Any suggestons please for directly opening the web sheet after login into the TM1 web. After login I need to select Applications-->Folders--> Report--->Report.xls.
It should go directly to Report.xls after login into the TM1 web.
Thanking you
Michel
-
- Posts: 16
- Joined: Tue Feb 12, 2013 7:31 am
- OLAP Product: TM1+Cognos Express
- Version: 9.5.2+10.1+10.2
- Excel Version: 2007+2010
- Location: Prague
Re: calling the web page
Hi,
refer to TM1Web URL API documentation. You can use redirect in login page, so setting redirect address to address of you report might work.
It might be even your own custom login page that will supply all possible credentials data to TM1. Consider this javascript piece of code that might be used to submit the form with your TM1 credentials. The below example of HTML page shows how to integrate parameter passing to your websheet - in this example how to open report directly with preselected client. You would obviously put the HTML page implementing this "login" and redirect to you TM1Web folder under IIS (default loc: c:\Inetpub\wwwroot\TM1Web\).
Regards
Peter
refer to TM1Web URL API documentation. You can use redirect in login page, so setting redirect address to address of you report might work.
It might be even your own custom login page that will supply all possible credentials data to TM1. Consider this javascript piece of code that might be used to submit the form with your TM1 credentials. The below example of HTML page shows how to integrate parameter passing to your websheet - in this example how to open report directly with preselected client. You would obviously put the HTML page implementing this "login" and redirect to you TM1Web folder under IIS (default loc: c:\Inetpub\wwwroot\TM1Web\).
Regards
Peter
Code: Select all
<html>
<head>
<title>TM1 WebSheet Test</title>
<script type="text/javascript">
function submitform() {
baseURL = "http://localhost/TM1Web/TM1WebMain.aspx?action=OpenObject&AdminHost=localhost&TM1Server=YOURSERVER&type=Websheet&HideToolbar=1&AutoRecalc=1&HideTabs=1&title_S1-R7-C3="+document.forms["loginform"].client.value+"&value=Applications/YOURAPPLICATION.xls";
document.forms["loginform"].action = "TM1WebLoginHandler.aspx?redirect="+escape(baseURL);
document.forms["loginform"].submit();
}
</script>
</head>
<body>
<table>
<tr><td colspan="2"><h2>Parametrised TM1WebSheet - Preview (login)</h2></td></tr>
<form name="loginform" method="post" action="TM1WebLoginHandler.aspx">
<tr><td>Admin Host URL:</td><td><input name="AdminHost" id="AdminHost" type="text" value="localhost"></td></tr>
<tr><td>TM1 Server Name:</td><td><input name="TM1Server" id="TM1Server" type="text" value="YOURSERVER"></td></tr>
<tr><td>User Name:</td><td><input name="UserName" id="UserName" type="text" value="admin"></td></tr>
<tr><td>Password:</td><td><input name="Password" id="Password" type="password" value=""></td></tr>
<tr><td>Client to Open:</td><td>
<select name="client">
<option value="Client 1">Client 1</option>
<option value="Client 2">Client 2</option>
<option value="Client 3">Client 3</option>
<option value="Client 4">Client 4</option>
<option value="Client 5">Client 5</option>
<option value="Client 6">Client 6</option>
<option value="Client 7">Client 7</option>
<option value="Client 8">Client 8</option>
<option value="Client 9">Client 9</option>
<option value="Client 10">Client 10</option>
</select>
</td></tr>
<tr><td colspan="2" align="right"><input name="SubmitBtn" id="SubmitBtn" type="button" onclick="submitform()" value="Login"/></td></tr>
</table>
</form>
</body>
</html>