COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: ckporter on 24 Jul 2007 08:47:55 AM

Title: Using cam_passport in COGNOS 8
Post by: ckporter on 24 Jul 2007 08:47:55 AM
Would anyone happen to know whether it is possible to access the user name in Cognos Connection, and pass it to another environment, like Oracle forms or APEX?

We are trying to implement a solution where a link from a report page provides users with a web form interface to interact with an Oracle database. The way in which a user is allowed to alter the DB should depend on their COGNOS credentials (user name in particular).


Thanks,

Chris
Title: Re: Using cam_passport in COGNOS 8
Post by: COGNOiSe administrator on 24 Jul 2007 09:40:18 AM
If it is just a a user name that you need for the link, then you should be able to use $userName macro in the report as a calculation
Title: Re: Using cam_passport in COGNOS 8
Post by: rkopp on 28 Jul 2007 12:31:28 AM
if you want to change data  - why not using addons like Apparo Fast Edit?
Title: Re: Using cam_passport in COGNOS 8
Post by: tmacfarlane on 22 Aug 2007 03:27:58 PM
hello, what about using the Cognos SDK to pass the value via a webpage?

http://bicentre.blogspot.com

Title: Re: Using cam_passport in COGNOS 8
Post by: COGNOiSe administrator on 22 Aug 2007 06:13:21 PM
SDK wouldn't help, since the requirement is from the report out. SDK mostly works from the outside in. Oh, and it costs $$$.
Title: Re: Using cam_passport in COGNOS 8
Post by: lindero on 05 Sep 2007 04:04:12 AM
Hey guys,

I don't know if i understood it correctly but passing Cognos8 environment parameters like userName, cam_passport, etc. to an outide application is described in SDK Developer Guide in chapter 9.

Perhaps a look into it helps.

cheers,
Olli

Title: Re: Using cam_passport in COGNOS 8
Post by: bpeterson on 10 Oct 2007 03:15:31 PM
If I understand the problem correctly, this maybe a viable solution. Oracle provides a procedure, APPS_INITIALIZE which will allow the cam_passport information to be passed to the DB and then is transformed to represent the actual user and not the user defined in the data source connection.