Xcelerator loading XLSM files to application folder

Post Reply
robert.karunaratne
Posts: 3
Joined: Tue Sep 14, 2010 12:13 am
OLAP Product: Cognos Express
Version: 9.0.0
Excel Version: Excel 2007

Xcelerator loading XLSM files to application folder

Post by robert.karunaratne »

Hi,

I am tring to upload a macro enabled workbook to an application folder in Xcelerator, however it is addig an xlsx extension to the file making it unreadable in the process.

Does anyone know if there a setting in the .cfg that I need to be enabling.

Thanks,

Robert
robert.karunaratne
Posts: 3
Joined: Tue Sep 14, 2010 12:13 am
OLAP Product: Cognos Express
Version: 9.0.0
Excel Version: Excel 2007

Re: Xcelerator loading XLSM files to application folder

Post by robert.karunaratne »

I have done some further digging and a file Book4.xlsm which is uploaded to the application folder becomes in the }Externals\ Book4.xlsm.xlsx_20100917045222.xlsx

renaming the file has no affect as the .blob can't find the new file.
User avatar
LoadzaGrunt
Posts: 72
Joined: Tue May 26, 2009 2:23 am
Version: LoadzaVersions
Excel Version: LoadzaVersions

Re: Xcelerator loading XLSM files to application folder

Post by LoadzaGrunt »

This definitely looks like a bug, not a feature...

You can do us all a favour and raise a ticket with IBM :)
jrizk
Posts: 48
Joined: Thu Nov 19, 2009 10:38 pm
OLAP Product: Tm1
Version: 10.2.2
Excel Version: 2010

Re: Xcelerator loading XLSM files to application folder

Post by jrizk »

1. First you need to stop the Tm1 service (save your data first)
2. Create a blob file using text editor and place it under the appropriate applications folder (if any),

eg under }Applications\MyReports (or just }Applications if there are no sub folders)

- save the following as a file called say Book4.xlsm.blob

FILE_FORMAT=100
ENTRYNAME=Book4.xlsm
ENTRYTYPE=blob
ENTRYREFERENCE=TM1:///blob/public/.\}Externals\Book4.xlsm

3. Copy your file Book4.xlsm to }Externals - note Book4.xlsm has to be the same name as line 4 of the blob file.
4. Start the Tm1 service.

PS you don't need to upload the file via the Tm1 menus in Excel at any point. To update or modify the file going forward just open it directly from the }Externals folder and save.
J.Rizk
Tm1 for everyone
robert.karunaratne
Posts: 3
Joined: Tue Sep 14, 2010 12:13 am
OLAP Product: Cognos Express
Version: 9.0.0
Excel Version: Excel 2007

Re: Xcelerator loading XLSM files to application folder

Post by robert.karunaratne »

Hi,

Thanks a lot for the help.

whilst the solution works, it's not great from a customer perspective so I will raise it with IBM as well as.

Cheers,

Robert
mnasra
Posts: 136
Joined: Tue Aug 10, 2010 5:40 pm
OLAP Product: Planning Analytics
Version: 2.0
Excel Version: EXCEL 2013

Re: Xcelerator loading XLSM files to application folder

Post by mnasra »

I see that the last message was in October 2010 and we are in May 2011- Do we have a 'normal' solution for this problem.
I see the 'workaround', but I do not understand how to implement it.
Also, I have more than one xlsm to put in the applications.
Thanks
Micheline
tomok
MVP
Posts: 2832
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Xcelerator loading XLSM files to application folder

Post by tomok »

mnasra wrote:I see that the last message was in October 2010 and we are in May 2011- Do we have a 'normal' solution for this problem.
I see the 'workaround', but I do not understand how to implement it.
Also, I have more than one xlsm to put in the applications.
It is my understanding that TM1 still only supports the adding of XLSX files to the application folder (for Excel 2007 and above). The only way to get it to work is going to be to do the workaround suggested by jrizk.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Andy Key
MVP
Posts: 351
Joined: Wed May 14, 2008 1:37 pm
OLAP Product: TM1
Version: 2.5 to PA
Excel Version: Lots
Location: Sydney
Contact:

Re: Xcelerator loading XLSM files to application folder

Post by Andy Key »

Which part of the workaround are you having trouble with?
Andy Key
mnasra
Posts: 136
Joined: Tue Aug 10, 2010 5:40 pm
OLAP Product: Planning Analytics
Version: 2.0
Excel Version: EXCEL 2013

Re: Xcelerator loading XLSM files to application folder

Post by mnasra »

2. Create a blob file using text editor and place it under the appropriate applications folder (if any),

What is a blob?

eg under }Applications\MyReports (or just }Applications if there are no sub folders)

- save the following as a file called say Book4.xlsm.blob

FILE_FORMAT=100
ENTRYNAME=Book4.xlsm
ENTRYTYPE=blob
ENTRYREFERENCE=TM1:///blob/public/.\}Externals\Book4.xlsm

Do I write exactly those 4 lines and I save the file as Book4.xlsm.blob

3. Copy your file Book4.xlsm to }Externals - note Book4.xlsm has to be the same name as line 4 of the blob file.

Do I have a book4.xlsm somewhere in my environment?


Where do I put the name of my own xlsm file? (and if I have 2?)

Sorry, on top of my english is not my first language, I am not a technical person.


Thanks
Thanks
Micheline
Andy Key
MVP
Posts: 351
Joined: Wed May 14, 2008 1:37 pm
OLAP Product: TM1
Version: 2.5 to PA
Excel Version: Lots
Location: Sydney
Contact:

Re: Xcelerator loading XLSM files to application folder

Post by Andy Key »

mnasra wrote:2. Create a blob file using text editor and place it under the appropriate applications folder (if any),

What is a blob?
A blob file is just a plain text file with the extension .blob rather than .txt. You can create it with Notepad.

eg under }Applications\MyReports (or just }Applications if there are no sub folders)

- save the following as a file called say Book4.xlsm.blob

FILE_FORMAT=100
ENTRYNAME=Book4.xlsm
ENTRYTYPE=blob
ENTRYREFERENCE=TM1:///blob/public/.\}Externals\Book4.xlsm

Do I write exactly those 4 lines and I save the file as Book4.xlsm.blob
Change every reference to Book4.xlsm to the name of the workbook that you want to add to your applications folders. Save the file as whatever you now have after ENTRYNAME= but with the .blob extension after .xlsm.

3. Copy your file Book4.xlsm to }Externals - note Book4.xlsm has to be the same name as line 4 of the blob file.

Do I have a book4.xlsm somewhere in my environment?
No, this is the workbook that you want to add.


Where do I put the name of my own xlsm file? (and if I have 2?)

The answer to the first question should be clear from the answers above. If you have more than one file to add, repeat the process.


Sorry, on top of my english is not my first language, I am not a technical person.

Thanks
Andy Key
JayM
Posts: 23
Joined: Wed Sep 14, 2011 3:21 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Re: Xcelerator loading XLSM files to application folder

Post by JayM »

Hi,

I am having the same issue with xslx or xlsm files under Application folder. What is this }Application\ folder where this .blob file needs to be saved?

Thanks
mnasra
Posts: 136
Joined: Tue Aug 10, 2010 5:40 pm
OLAP Product: Planning Analytics
Version: 2.0
Excel Version: EXCEL 2013

Re: Xcelerator loading XLSM files to application folder

Post by mnasra »

THe }Application folder is under your SERVER name \datafiles\ }Application

I hope this helps
micheline
Thanks
Micheline
User avatar
Martin Ryan
Site Admin
Posts: 1988
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Xcelerator loading XLSM files to application folder

Post by Martin Ryan »

Anyone heard back from IBM on this issue? I've just encountered it two years and a few versions of TM1 later.

I'll work around by saving as .xls but I'd rather be able to save it in native Excel 2010 format as that's what's being used by all the users.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Xcelerator loading XLSM files to application folder

Post by rmackenzie »

You can attach .xlsm's as shortcuts, as opposed to actually 'uploading' them thereby creating a copy in }Externals. Not sure if that's going to work for you Martin?
Robin Mackenzie
User avatar
Martin Ryan
Site Admin
Posts: 1988
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Xcelerator loading XLSM files to application folder

Post by Martin Ryan »

Yeah, could probably make that work, thanks for the idea Robin.
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Post Reply