Bootstrap of Excel files in the application folders

Post Reply
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Bootstrap of Excel files in the application folders

Post by Steve Rowe »

Does anyone know of a way of an excel file that has been posted in an application folder knowing which TM1 instance it was opened from?

It always seems very clunky when promoting workbooks that you have to go into them and change the instance name when you move them around.

It's likely that the user would be connected to more than one instance so any approach that relies on establishing which instance the user is connected to won't work 100% of the time.

Cheers,
Technical Director
www.infocat.co.uk
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Bootstrap of Excel files in the application folders

Post by lotsaram »

You can use this technique. http://www.tm1forum.com/viewtopic.php?p=18355#p18232
Assuming you are running a DQP kind of setup then this is all you need to avoid any issue with promoting of application entries.

The alternative is to run a vbs to find/replace within the contents of files 8this can be done including ActiveX object properties so can update TM1 server property of action buttons as well as cell contents.
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Bootstrap of Excel files in the application folders

Post by Steve Rowe »

Thanks lotsa, should have used the search function.
The solution proposed, basically asking for the username of possible servers that you are connected to and using which gives a response is workable though we have perhaps five or six different options.

Anyone have anything more "elegant"? It still has to work of course! :lol:
Technical Director
www.infocat.co.uk
Post Reply