Is Composite Element locking facility available.

Post Reply
ryan
Posts: 59
Joined: Thu May 26, 2011 5:04 am
OLAP Product: COGNOS
Version: 9.0
Excel Version: 2007

Is Composite Element locking facility available.

Post by ryan »

Dear All,

#1
In our organisation, currently we are locking the data by using one element (especially period dimension's element).

If composite Element locking facility is possible/available in TM1, I appreciate if some one could help me.

Let say if there are 3 versions for a given period (eg: Actual, Forecast1, Forecast2 for 201204). Right now we are locking 201204 element, hence all the 3 versions are getting locked.
I want to lock 201204's Forecast1, hence 201204's Actual and Forecast2 are available for editing/entering.

#2
Are there any control objects thru which I can see the locking information?

Thanks in advance.
Configuration Details
Microsoft Window Server 2003 Exterprise x64 Edition Service Pack 2
RAM 32 GB
using IBM Cognos Express Xcelerator (Version 10.1)
MS-Office Excel 2010 (12.0.6514.5000)SP2 MSO (12.0.6425.1000)
Microsoft .NET Framework 3.5
Gregor Koch
MVP
Posts: 263
Joined: Fri Jun 27, 2008 12:15 am
OLAP Product: Cognos TM1, CX
Version: 9.0 and up
Excel Version: 2007 and up

Re: Is Composite Element locking facility available.

Post by Gregor Koch »

Hi
Do a search on "Cell Security". There are plenty of posts in this forum and it is also in the standard documentation.
Cheers
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Is Composite Element locking facility available.

Post by jim wood »

This gets a bit sticky but you can achieve something like this be creating multiple groups and moving users in and out of the groups to achieve what you are looking for. This is more difficult than standard security. While Gregor is right there are posts on here about the very same subject (Do a search you'll find some good stuff.) there is nothing about this in the standard documentation,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Gregor Koch
MVP
Posts: 263
Joined: Fri Jun 27, 2008 12:15 am
OLAP Product: Cognos TM1, CX
Version: 9.0 and up
Excel Version: 2007 and up

Re: Is Composite Element locking facility available.

Post by Gregor Koch »

Maybe my wording wasn't clear and properly too short. But, and unless I misunderstood what is needed, Cell Security is what I think is the easier approach in this case and it (or how to set up Cell Security) is documented in the standard documentation.
ryan
Posts: 59
Joined: Thu May 26, 2011 5:04 am
OLAP Product: COGNOS
Version: 9.0
Excel Version: 2007

Re: Is Composite Element locking facility available.

Post by ryan »

Gregor Koch wrote:Maybe my wording wasn't clear and properly too short. But, and unless I misunderstood what is needed, Cell Security is what I think is the easier approach in this case and it (or how to set up Cell Security) is documented in the standard documentation.
I have created cell security cube for the required cube (let say ForecastCube). I can see }CellSecurity_ForecastCube in the server explorer.

I have included a rule in }CellSecurity_ForecastCube as below:

Code: Select all

['Forecast1','201204'] = S: 'LOCK';


To my surprise I can see locking applied to }CellSecurity_ForecastCube rather than ForecastCube.

Am I missing anything?

P.S: No SKIPCHECK; FEEDSTRINGS; statements included.
Configuration Details
Microsoft Window Server 2003 Exterprise x64 Edition Service Pack 2
RAM 32 GB
using IBM Cognos Express Xcelerator (Version 10.1)
MS-Office Excel 2010 (12.0.6514.5000)SP2 MSO (12.0.6425.1000)
Microsoft .NET Framework 3.5
Gregor Koch
MVP
Posts: 263
Joined: Fri Jun 27, 2008 12:15 am
OLAP Product: Cognos TM1, CX
Version: 9.0 and up
Excel Version: 2007 and up

Re: Is Composite Element locking facility available.

Post by Gregor Koch »

ryan wrote: I have created cell security cube for the required cube (let say ForecastCube). I can see }CellSecurity_ForecastCube in the server explorer.

I have included a rule in }CellSecurity_ForecastCube as below:

Code: Select all

['Forecast1','201204'] = S: 'LOCK';


To my surprise I can see locking applied to }CellSecurity_ForecastCube rather than ForecastCube.

Am I missing anything?

P.S: No SKIPCHECK; FEEDSTRINGS; statements included.
Hi
Not too sure what you been by the locking is applied to the }CellSecurity_ForecastCube because you seem to be doing the right things.
If you write a rule in the }CellSecurity_ForecastCube this will define the cell security for the ForecastCube.
You'll notice that the }CellSecurity_ForecastCube is an exact copy of the ForecastCube including the }groups dimension.

A few pointers:
1. I would use 'READ' rather than 'LOCK'. On the different levels of security check this
http://publib.boulder.ibm.com/infocente ... _Grps.html

2. In your situation I would create an additional cube that has your Version, Period (and }groups) which you can use to flag which combinations should be READ, WRITE etc. so you don't have to hard code the rule. Obviously hard coding it wouldn't be very flexible. That way you could write your rule in the }CellSecurity_ForecastCube like so

[]=S: IF(DB('Lookupcube', !Version, !Period)@='W', 'WRITE', 'READ');

This is very simplified and the [] should always be handled with care. Personally I'd prefer a Lookupcube that has 1s and 0s but for that you will have to create a copy of the }groups dimension with N elements ... let's not complicate things.

3. You can find some discussions on why to use the SkipCheck; and Feeders; statements in this forum. Personally I would put the statements in but not feed at all. And unless you feel really comfortable with feeders the PrivilegeGenerationOptimization (found in standard documentation) configuration setting is not really an option for you.

4. Be aware that if there is no cell security on a cube other existing security e.g. the element security you have set will 'kick in'.

Hope this helps.
Post Reply