Hi,
I meet an upgrade issue from TM1 10.1 to TM1 10.2.2 about web url api.
In TM1 10.1, I have a hyperlink:
http://ServerName/tm1web/TM1WebMain.asp ... 2016.100.1
It open websheet base on title.
Following TM1 Version 10.2.2 Developer Guide (Page 186).
Code change as below:
http://<servername>:9510/tm1web/UrlApi.jsp#Action=Open&Type=WebSheet&TM1Server=<ProjectName&AdminHost=<servername>&AccessType=PUBLIC&Workbook=Applications/<project_shortcode>/websheet_1_tp&title_S1-R33-C2=2015.2016.1
It open websheet but always maintains the current state of the object (ie. If I create 3 hypelinks (2015.2016.100.1, 2015.2016.100.2, 2015.2016.100.3), I click any of three links, it always open latest 2015.2016.100.3.
I guess I don't really understand the part(Page 186: Replace the ObjectID parameter Update your code anywhere you used the ObjectID parameter to track objects that you opend ....)
Who can help?
Much appreciated in advance.
Migration issue in TM1 10.2.2 (Web URL API)
-
- Posts: 9
- Joined: Fri Jul 25, 2014 1:08 pm
- OLAP Product: Cognos BI & TM1
- Version: 9.5+10.1+10.2
- Excel Version: 2007+2010
Re: Migration issue in TM1 10.2.2 (Web URL API)
FYI.
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
-
- Community Contributor
- Posts: 164
- Joined: Tue Apr 02, 2013 1:41 pm
- OLAP Product: tm1, cognos bi
- Version: from TM1 9.4 to PA 2.0.9.6
- Excel Version: 2010
- Location: Toronto, ON
Re: Migration issue in TM1 10.2.2 (Web URL API)
Thanks for sharing the solution.Brian_Q wrote:FYI.
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
I worked with TM1Web URL API in previous version ( 10.1 ), and when I checked this in 10.2.2, I noticed that everytime you click on a hyperlinked cell in TM1Web, it opens a new browser session. Is there any workaround for this?
Thanks again!
Ardian Alikaj
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: Migration issue in TM1 10.2.2 (Web URL API)
The Title_S#-R#-C# syntax is still valid, but the #s are now zero based. Changing the link to S0-R32-C1 would probably work.Brian_Q wrote:FYI.
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
Andy Key
-
- Posts: 9
- Joined: Fri Jul 25, 2014 1:08 pm
- OLAP Product: Cognos BI & TM1
- Version: 9.5+10.1+10.2
- Excel Version: 2007+2010
Re: Migration issue in TM1 10.2.2 (Web URL API)
It doesn't work because Title_S#-R#-C# (static) would make multi hyperlinks point to the same websheet page, however Title_<dimension> will control hyperlink point to specific page dynamically.Andy Key wrote:The Title_S#-R#-C# syntax is still valid, but the #s are now zero based. Changing the link to S0-R32-C1 would probably work.Brian_Q wrote:FYI.
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
Thanks for your comments anyway.
-
- Posts: 9
- Joined: Fri Jul 25, 2014 1:08 pm
- OLAP Product: Cognos BI & TM1
- Version: 9.5+10.1+10.2
- Excel Version: 2007+2010
Re: Migration issue in TM1 10.2.2 (Web URL API)
Hi,ardi wrote:Thanks for sharing the solution.Brian_Q wrote:FYI.
The solution is: &Title_<DimensionName> replace &title_S1-R33-C2
Cheers,
I worked with TM1Web URL API in previous version ( 10.1 ), and when I checked this in 10.2.2, I noticed that everytime you click on a hyperlinked cell in TM1Web, it opens a new browser session. Is there any workaround for this?
Thanks again!
I asked IBM for it without any solution. I personally think 10.2.2 using JAVA based web server which doesn't support objectID, then it's going to open a new browser session by design.
My application meet the same issue, I couldn't find any workaround.
-
- Community Contributor
- Posts: 206
- Joined: Fri Oct 17, 2008 2:40 am
- OLAP Product: TM1, PA , TMVGate
- Version: 2.x
- Excel Version: 36x
- Location: Singapore
- Contact:
Re: Migration issue in TM1 10.2.2 (Web URL API)
With 10.2.2
Use the hyperlink in Excel and it will open the link websheet under a new tab.
=HYPERLINK("TM1://ServerName/blob/PUBLIC/.\}Externals\workbook_system_name.xlsx","my link")
Note that you need to find the system name of the Websheet. Either open the blob file or look at the websheet property.
Definitely working method as someone asked me this yesterday and I demo it.
Use the hyperlink in Excel and it will open the link websheet under a new tab.
=HYPERLINK("TM1://ServerName/blob/PUBLIC/.\}Externals\workbook_system_name.xlsx","my link")
Note that you need to find the system name of the Websheet. Either open the blob file or look at the websheet property.
Definitely working method as someone asked me this yesterday and I demo it.