Search found 5 matches

by Carl Peach
Wed Jan 04, 2012 5:50 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 API in v9.5.2
Replies: 1
Views: 1733

TM1 API in v9.5.2

Hi I have some vba code running in v9.4 and this works fine using the TM1 api and some code to call a TI process. (Running Excel 2002) However when using 9.5.2 and Excel 2003 the code errors saying cannot connect to Server. Does anyone know of any issues why this should be the case Thanks Carl
by Carl Peach
Thu Oct 13, 2011 3:04 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 Security and VBA
Replies: 2
Views: 5650

TM1 Security and VBA

At the moment I am returning a subset based on MDX and using the following code to popluate a spreadsheet. strService = "harmony dev:" strCube = "HR Employee List Oracle" strCostCentre = "Total Group" strServCube = strService & strCube strHR_Location = "All Ora...
by Carl Peach
Wed Oct 12, 2011 12:49 pm
Forum: Useful code, tips and tricks
Topic: How to find an Attribute Type in a TI Process
Replies: 5
Views: 14532

Re: How to find an Attribute Type in a TI Process

Thanks guys for the info. The underscore was a mistype in the post. I didn't know that the DTYPE would resolve correctly, so a huge thanks for pointing that out. On another note - do you know who was the author of the TI provided? The code and style of writing looks very similar to a consultant I wo...
by Carl Peach
Wed Oct 12, 2011 8:37 am
Forum: Useful code, tips and tricks
Topic: How to find an Attribute Type in a TI Process
Replies: 5
Views: 14532

How to find an Attribute Type in a TI Process

I am trying to use a TI process to copy a dimension and all it's associated attributes. I cannot find a TI function to return the attribute type (text, numeric or alias). When I tried to use DTYPE ( DimName, ElName ) on the }Element_Attributes dimension, I noticed that all the elements (attributes) ...
by Carl Peach
Tue Oct 04, 2011 3:01 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Questions about working with dimensions in TM1
Replies: 6
Views: 9824

Re: Questions about working with dimensions in TM1

Elements can be renamed in TM1. 1. Create a new alias of the dimension. ie 'NewAlias' (The default names for this new alias will be the same name as the element name.) 2. Edit the alias names for the elements you wish to rename. 3. User the code SwapAliasWithPrincipalName(Dimension,'NewAlias',0); in...