Search found 3 matches

by snkfischer
Tue Jul 15, 2014 3:33 pm
Forum: Cognos TM1
Topic: TM1 Java API - pull data from view?
Replies: 14
Views: 5248

Re: TM1 Java API - pull data from view?

I've received a couple of requests for information on how I got this to work. I'm clearly no java programmer, but I did was able to write enough code to connect, retrieve values from views, etc. I'm attaching what I threw together in Eclipse, along with a screenshot of how I have the Eclipse project...
by snkfischer
Fri Feb 14, 2014 8:28 pm
Forum: Cognos TM1
Topic: TM1 Java API - pull data from view?
Replies: 14
Views: 5248

Re: TM1 Java API - pull data from view?

Ok, so I realized that I actually was pulling the information correctly. I threw in a couple of for loops to make sure that I was looking at all values of the TM1Val array: TM1Cube oCube; TM1View view; TM1Val arr; TM1Val ret; //get oCube oCube = oServer.getCube ("Consumer Dashboard"); if (!oCube.isE...
by snkfischer
Fri Feb 14, 2014 7:18 pm
Forum: Cognos TM1
Topic: TM1 Java API - pull data from view?
Replies: 14
Views: 5248

TM1 Java API - pull data from view?

All, I'm newer to Java. I'm running Eclipse version Kepler, and connecting successfully to TM1 9.5.2. I'm able to: 1. establish a connection 2. Connect to a particular cube 3. Extract a single value out of the cube using the sample code that IBM has provided in the installation > sample code folder ...