COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Administration and Security => Topic started by: Bluefyre on 07 Mar 2017 06:56:09 PM

Title: Specify Namespace via URL through IIS Gateway 11.0.4
Post by: Bluefyre on 07 Mar 2017 06:56:09 PM
Anyone know how to specify a security namespace in the URL to have it go directly to the prompt or redirect for that configured namespace? I can use ?CAMNamespace when using the dispatcher URL and it works as expected, but when I try http://mysite/ibmcognos/bi/?CAMNamespace, it only goes to Namespace selection page.

Any ideas on this?
Title: Re: Specify Namespace via URL through IIS Gateway 11.0.4
Post by: AnalyticsWithJay on 08 Mar 2017 07:58:39 AM
FYI, this doesn't work in 11.0.5 either. The prompt URL parameters were only added recently, so I don't expect this feature to be in the product already.

Inspecting the network activity, I can see it's still using the same parameters, but it's sending the values as a JSON POST request. The parameters are still h_CAM_action, CAMUsername, etc., so I assume this feature is not implemented yet.

There are other ways to accomplish this though. You can use extensions and provide two perspectives. In the JS View script of the extension, there's an entry for CAMNamespace. You can specify the namespace in each perspective.

Checkout the SampleLogin.zip sample under c11/samples/extensions to get started.
Title: Re: Specify Namespace via URL through IIS Gateway 11.0.4
Post by: Bluefyre on 08 Mar 2017 08:23:21 AM
Edit: NVM. Thought I had it but turns out not.