Hello Everybody,
Is it possible to create a folder and add a file into this folder in Application. This via process or via a script VBA.
Thx
Add Files to Application via process or vba
-
- Posts: 34
- Joined: Mon Aug 11, 2008 7:37 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.5.2
- Excel Version: 2003-2007
- Location: France
-
- Community Contributor
- Posts: 312
- Joined: Mon May 12, 2008 8:11 am
- OLAP Product: TM1
- Version: TM1 11 and up
- Excel Version: Too many to count
Re: Add Files to Application via process or vba
Do you mean create a folder and add a file to it from Excel? Then the answer is yes - probably best to google some excel VBA sites for the code for this.
Regards
Paul
Regards
Paul
Paul
-
- Posts: 34
- Joined: Mon Aug 11, 2008 7:37 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.5.2
- Excel Version: 2003-2007
- Location: France
Re: Add Files to Application via process or vba
Hello Paul,
No in fact, add a file to Application in TM1 explorer
No in fact, add a file to Application in TM1 explorer
-
- Posts: 34
- Joined: Mon Aug 11, 2008 7:37 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.5.2
- Excel Version: 2003-2007
- Location: France
Re: Add Files to Application via process or vba
I've found.
It must to add element in the dimension }ApplicationEnties with this code and create folder and blob into }Applications folder.
That's works but the problem is that I must to restart the server to reload all objects.
How refresh the list object in application folder without stopping and starting the server TM1 ?
Thx
It must to add element in the dimension }ApplicationEnties with this code and create folder and blob into }Applications folder.
Code: Select all
vDir = 'TEST 999';
vBlob = vDir | '\' | 'TEST.blob';
vDimensionName = '}ApplicationEntries';
vTopName = '}Applications';
DimensionElementInsert(vDimensionName,'',vDir,'C');
DimensionElementInsert(vDimensionName,'',vDir,'n');
DimensionElementComponentAdd(vDimensionName, vTopName, vDir, 1.000000);
DimensionElementComponentAdd(vDimensionName, vDir, vBlob, 1.000000);
How refresh the list object in application folder without stopping and starting the server TM1 ?
Thx
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Add Files to Application via process or vba
Does pressing F5 in the server explorer work? It does when i add a new cube and someone else wants to see it who was already logged in, but not sure if it would in this case...
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
-
- Posts: 34
- Joined: Mon Aug 11, 2008 7:37 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.5.2
- Excel Version: 2003-2007
- Location: France
Re: Add Files to Application via process or vba
I've tried F5 but it doesn't work...
Any ideas ?
Any ideas ?
-
- Posts: 34
- Joined: Mon Aug 11, 2008 7:37 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.5.2
- Excel Version: 2003-2007
- Location: France
Re: Add Files to Application via process or vba
Hello,
Who's an experience with tm1 api and more specialy TM1BlobCreate, TM1BlobPut,...
Do you have some examples ?
Thx
Who's an experience with tm1 api and more specialy TM1BlobCreate, TM1BlobPut,...
Do you have some examples ?
Thx
- Steve Vincent
- Site Admin
- Posts: 1054
- Joined: Mon May 12, 2008 8:33 am
- OLAP Product: TM1
- Version: 10.2.2 FP1
- Excel Version: 2010
- Location: UK
Re: Add Files to Application via process or vba
The API in that case is probably all you have left as an option. I've never delved that deep so i can't help on that front i'm afraid...
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet