COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => TM1 => Topic started by: donap on 11 Nov 2017 07:45:36 AM

Title: TI retrieve Element security setting??
Post by: donap on 11 Nov 2017 07:45:36 AM
OKay - I need to do the OPPOSITE of ElementSecurityPut.  I need to write a TI process that Retrieves the current Element Security for a group and if it is currently WRITE,  change it to READ.  I could not find a command to use to retrieve the value.
Thanks
Title: Re: TI retrieve Element security setting??
Post by: AJAYC on 12 Nov 2017 10:18:36 AM
Donap

You can use the following function in your TI process:

ElementSecurityGet ( YourDimension, TheElement, TheGroup ) ;

Use this to get the current security level and test on the retrieved value if it is "WRITE" and if so, change it using the ElementSecurityPut command

HTH
Ajay

Title: Re: TI retrieve Element security setting??
Post by: donap on 13 Nov 2017 08:21:10 AM
AJAYC - Again - My thanks to you. The way TM1 documentation is set up, This did not appear in any of my web searching.