Manipulating TM1 9.5 Sandboxes in Excel VBA

Post Reply
oudoyen
Posts: 3
Joined: Thu Jan 28, 2010 7:47 pm
OLAP Product: TM1
Version: TM1 9.5
Excel Version: Excel 2007

Manipulating TM1 9.5 Sandboxes in Excel VBA

Post by oudoyen »

Is it possible (either through undocumented API calls or TM1 macro functions) to change which sandbox an excel worksheet reads/writes to?

I am creating a data_input_template in Excel 2007, and I would like to globally change/set the sandbox the users will write to when they open the workbook (in the Workbook_Open() event).
The users will be able to commit their changes to the [base] sandbox whenever they want. Also if there are any uncommitted data in the current sandbox when the workbook is closed, the users will be asked if they want to commit those changes to the [base] sandbox (in the Workbook_BeforeClose() event).
asingla83
Posts: 3
Joined: Sat Mar 05, 2011 1:19 am
OLAP Product: Tm1
Version: 9.5.1
Excel Version: 2010

Re: Manipulating TM1 9.5 Sandboxes in Excel VBA

Post by asingla83 »

Anyone has any good suggestion on this?
homebunny
Posts: 6
Joined: Tue Jan 13, 2009 1:07 pm
Version: 9.1 SP4
Excel Version: 2002

Re: Manipulating TM1 9.5 Sandboxes in Excel VBA

Post by homebunny »

i'm also searching for this functionality, has anyone found a solution?
nick_leeson
Posts: 98
Joined: Sat Feb 11, 2012 11:13 am
OLAP Product: TM1 9x, BPC, Hyperion, HANA
Version: TM1 10
Excel Version: Excel 2003 - 2010

Re: Manipulating TM1 9.5 Sandboxes in Excel VBA

Post by nick_leeson »

This is a good place to start for setting the Sandbox using VBA.

http://www.tm1forum.com/viewtopic.php?f ... 33&start=0

Hope this helps

Cheers
Post Reply