Has anyone got an example I can have a look at.
I can connect to the cube and get dimensions back but completely at a loss on how to use the hierarchy class.
The API documentation does not make it particularly clear.
Further is there any Java code around that can help show how to use the TM1 API. I have googled all over the net and there is very little. Only looking to read from the cube, do not want to write to it.
Thanks
TM1Hierarchy Java Example Wanted
-
- Posts: 40
- Joined: Mon Mar 01, 2010 2:53 pm
- OLAP Product: TM1
- Version: 9.5 9.5.1 9.5.2
- Excel Version: 2007
Re: TM1Hierarchy Java Example Wanted
Hi,TM1Newbie wrote: Further is there any Java code around that can help show how to use the TM1 API. I have googled all over the net and there is very little. Only looking to read from the cube, do not want to write to it.
Thanks
There is very little code "floating" around.
There are some [small] classes example in :
<tm1 install dir>\API\TM1API\SampleCode\java
Besides that, I gess you'll have to do it the old fashionned way: trial and error.
![Wink ;)](./images/smilies/icon_e_wink.gif)
Hope this helps.
Cheers!
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Re: TM1Hierarchy Java Example Wanted
This is the most comprehensive java api source code example I've come across:
http://ykud.com/blog/cognos/tm1-cognos/ ... tm1-models
http://ykud.com/blog/cognos/tm1-cognos/ ... tm1-models
Last edited by image2x on Fri Mar 11, 2011 3:42 pm, edited 1 time in total.
-
- Posts: 40
- Joined: Mon Mar 01, 2010 2:53 pm
- OLAP Product: TM1
- Version: 9.5 9.5.1 9.5.2
- Excel Version: 2007
Re: TM1Hierarchy Java Example Wanted
image2x wrote:This is most comprehensive java api source code example I've come across:
http://ykud.com/blog/cognos/tm1-cognos/ ... tm1-models
Cool! It looks like a very promising tool.
Thanks.
Cheers!
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca