VBA wrapper for TM1 API?

Post Reply
mitch23
Posts: 21
Joined: Thu Jan 29, 2009 11:32 am
OLAP Product: Planning Analytics
Version: 10.1
Excel Version: Office 365

VBA wrapper for TM1 API?

Post by mitch23 »

Does anyone know if Cognos has any plans for exposing more of the API functionality through VBA (I guess essentially a VBA wrapper around the API)? The API is obviously very difficult to use.
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: VBA wrapper for TM1 API?

Post by Alan Kirk »

mitch23 wrote:Does anyone know if Cognos has any plans for exposing more of the API functionality through VBA (I guess essentially a VBA wrapper around the API)? The API is obviously very difficult to use.
Pretty unlikely I think. Based on my dealings with support over some API work that I've done, the API doesn't seem to be number 1 on their hit parade. F'rinstance there are some painfully obvious omissions from it which they don't seem to be too interested in providing (the number of ports used by an individual user comes to mind), and they aren't intersted in providing official support for (or documenting) the function which lets you piggy-back of your Excel connection.

There is in fact a third party commercially available product which does provide a such a wrapper though. I'd point you to the post in the Commercial forum which introduces it to you, but for some reason the person who produced it hasn't made one yet (hint, hint, Paul).
"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.
User avatar
paulsimon
MVP
Posts: 808
Joined: Sat Sep 03, 2011 11:10 pm
OLAP Product: TM1
Version: PA 2.0.5
Excel Version: 2016
Contact:

Re: VBA wrapper for TM1 API?

Post by paulsimon »

Thanks Alan

I will get around to putting something on the Commercial bit of the forum soon. For the moment I will send a private message.

Regards


Paul Simon
Kyro
Community Contributor
Posts: 126
Joined: Tue Nov 03, 2009 7:46 pm
OLAP Product: MODLR - The CPM Cloud
Version: Always the latest.
Excel Version: 365
Location: Sydney, Australia
Contact:

Re: VBA wrapper for TM1 API?

Post by Kyro »

The API can be very complex, but by creating a couple of helper functions like objectHandleGet,objectHandleGetByName,objectPropertyGet and a objectCount you make life a hell of a lot easier.
Post Reply