Create Cube with C#

Post Reply
CoN73mP7
Posts: 37
Joined: Wed May 18, 2011 7:48 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003
Location: Stuttgart, Germany
Contact:

Create Cube with C#

Post by CoN73mP7 »

Hi,

im just playing around with the .net API of TM1. Is there a way to create a cube with the C# API? I've looked at the sample Code but ist written in C++ or VB and they use Methods, I don't seem to have like a Method

Code: Select all

hCube = TM1CubeCreate( hPool, voServer, voArrayOfDim );
Best Regards
Alex
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Create Cube with C#

Post by Alan Kirk »

CoN73mP7 wrote:Hi,

im just playing around with the .net API of TM1. Is there a way to create a cube with the C# API? I've looked at the sample Code but ist written in C++ or VB and they use Methods, I don't seem to have like a Method

Code: Select all

hCube = TM1CubeCreate( hPool, voServer, voArrayOfDim );
I'm afraid not. In the words of IBM Support (quoted in this thread):
The TM1 .NET API was developed mainly for read-only functionality, and there are no plans to transition/include the full functionality of the current TM1 API over to the TM1 .NET API. If you require the ability to create cubes and dimensions, you'll need to use the current TM1 API for this functionality.
Put another way, the .Net "API" is barely worthy of the name IMHO. (Particularly the "P" in the middle.)
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Post Reply