COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: francois on 06 Jan 2010 08:55:16 AM

Title: updating cmobjects classid not visible in directory role/groups
Post by: francois on 06 Jan 2010 08:55:16 AM
Hi all,

Ending a huge work on security (directory/namespacecognos/role_groups)  i've discovered i'm unable to add a role in a group while this role has been defined at the bottom of a big folder tree. This led me to this topic because i need to update classid on already created Roles (classid 26) to turn them into groups (classid54).

But... while i'm running the following sql against cognoscs the change has no effect on the portal side...

UPDATE [cognoscs].[dbo].[CMOBJECTS]
   SET
     [CLASSID] = 54  /* instead of 26 */
WHERE [CMID] = the one(s) desired

Any advices ? does the classid for an object stand in an other table also ?
Title: Re: updating cmobjects classid not visible in directory role/groups
Post by: francois on 06 Jan 2010 09:28:57 AM
A self reply ...
i'll test restarting the server since i don't think any sql update would lead to a refresh of the server cache.