Issue with TM1 Security via TI though Perspectives

Post Reply
LanceTylor
Posts: 66
Joined: Mon Feb 27, 2012 12:37 am
OLAP Product: TM1
Version: 10.2.2 Fix Pack 4
Excel Version: 2010

Issue with TM1 Security via TI though Perspectives

Post by LanceTylor »

Hi All,

I am using Cognos express 9.5

I am having a problem updating element security rights for groups via TM1(Xcelarator) Perspectives through TI process. I created a process(s) below to populate the "Element Security Version Cube".

Process Info
1. Parameters are set up to capture the "Element" and the "Security Level (Ex: Read).
2. The Process uses the }Groups dimension subset to capture "All Groups" this is an MDX subset ("Subset All")
3. In the Data Tab I have the TI scripts (shown below) which should populate the "Element Version Security Cube"

The process works when i run it in Architect and fill in the Parameters but when i try it in MS Perspectives via an action button it doesn't populate the anything but indicates that the process was sucessful???

Process Details
SecurityCube='}ElementSecurity_Version';
DimName='Version';
pSecurityRights = 'Read';
pElement = 'Actual';
SecurityGroups = MDX subset from the }Groups Dimension

Trial 1
CellPutS(pSecurityRights,SecurityCube,pElement,SecurityGroups);

Trial 2
ElementSecurityPut(pSecurityRights, DimName, pElement, SecurityGroups);

As Always, any suggestions would be helpful

Lance
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Issue with TM1 Security via TI though Perspectives

Post by Martin Ryan »

LanceTylor wrote:The process works when i run it in Architect and fill in the Parameters but when i try it in MS Perspectives via an action button it doesn't populate the anything but indicates that the process was sucessful???
When you say that it indicates the process was successful do you mean the action button resulted in a message box saying it ran ok? If that's what you mean then take a look in the message log (right click on the server in perspectives and click "View message log...") that will tell you whether the process was actually run on the server and what the outcome was.

That will help you tie down whether the problem is the process, or the action button, because it sounds to me like the problem might be the action button, not the TI process.
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
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Issue with TM1 Security via TI though Perspectives

Post by declanr »

Notice that your info states you are using Excel 2007.

Something quirky about 2007 is that should you create a top notch sheet that has an Action Button run a process - which finds parameters through cell references... it will work until you close the workbook and open it up again at which point if you open said action button you will see that Excel/TM1 has somehow merged the 2 parameters into 1 uber reference that just does nothing :? ...

If that is the case for yourself, try re-creating the book/sheet but save it as a 2003 compatible blah blah blah book and it should sort itself out.
Declan Rodger
tomok
MVP
Posts: 2836
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: Issue with TM1 Security via TI though Perspectives

Post by tomok »

When you run a Ti process that includes parameters through Architect it will prompt you to key them in. When you run a TI via an action button, you have to reference each of the parameters in a cell somewhere in the workbook. Are you certain you did this correctly? For example, does the pSecurityRights reference look something like:

=A1
or
=NamedRange

????
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
LanceTylor
Posts: 66
Joined: Mon Feb 27, 2012 12:37 am
OLAP Product: TM1
Version: 10.2.2 Fix Pack 4
Excel Version: 2010

Re: Issue with TM1 Security via TI though Perspectives

Post by LanceTylor »

Martin,

Just check the Message Log and its seems like its working but no values? I have even included "Security Refresh" in the Eplog
41412 INFO 2012-04-26 20:39:45.148 TM1.Process Process "Security - VersionDim": finished executing normally, elapsed time 8.36 seconds

Declanr,
I have had fun with that in previous projects. On this project, I haven't encountered that yet and I have several process I built for endusers over the web

I find these issues come up especially when deadlines are tight.....I love consulting.
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Issue with TM1 Security via TI though Perspectives

Post by Martin Ryan »

Ok, so the process is getting run ok. Next step is to put debug information in the TI process. Just spit some stuff out using asciioutput - my first stop would be exporting all the parameters that are getting passed in. One of them must not be what you expect.
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
LanceTylor
Posts: 66
Joined: Mon Feb 27, 2012 12:37 am
OLAP Product: TM1
Version: 10.2.2 Fix Pack 4
Excel Version: 2010

Re: Issue with TM1 Security via TI though Perspectives

Post by LanceTylor »

The parameters are using the correct sheet and cell reference.

I will try the debug and see what happens.....be in touch shortly.

thanks for the suggestions

Lance
LanceTylor
Posts: 66
Joined: Mon Feb 27, 2012 12:37 am
OLAP Product: TM1
Version: 10.2.2 Fix Pack 4
Excel Version: 2010

Re: Issue with TM1 Security via TI though Perspectives

Post by LanceTylor »

One last point I forgot to include.

The cells the parameters are referencing are (1) SubNm formula for the "Version" (2) An excel validation list for the Security Level "Read"

Back to the debug process
Post Reply