COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: Ty Clabbers on 20 Feb 2008 05:08:48 AM

Title: granting new tab pages to existing users
Post by: Ty Clabbers on 20 Feb 2008 05:08:48 AM
Hi all,

We recently developed some new tab pages. I already added the tab to the default profile but i also want to grant these to all the users that already have a profile in Cognos. The users don't have the right to do this themself and i don't want to go through all my existing users manually to add the pages (and modify the sequence). My question is, does anyone have a SDK script to do this?
Title: Re: granting new tab pages to existing users
Post by: lindero on 09 Apr 2008 04:58:28 AM
The portal tabs are available in the specific account object. I don't have a exact snippet but I did it once and it worked really fine.

Search the content store for the account objects with PropEnum = PropEnum.portalPages. That's the location where the associated portal pages are stored.