COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: TimothyVermeiren on 08 Aug 2013 07:14:19 AM

Title: Access users' My Folders through Search Path
Post by: TimothyVermeiren on 08 Aug 2013 07:14:19 AM
Hi,
I am trying to access users' My Folders, and for this I need the search path corresponding to that folder. This, for instance, works:

CAMID("C2:u:97f97b66b25a1d47b04ae20ab9f0ed14")/folder[@name='My Folders']            (where C2 is the namespace)

I am however trying to achieve this without having to know the CAMID of the user. I would like to be able to use a search path similar to this one:

CAMID("C2")//account[@name='username']/folder[@name='My%20Folders']

The above statement is not correct, though. Is there a similar way I could obtain the search path for this user's My Folders? Or another way to obtain the CAMID without having to use the SDK?

Thanks!