COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: shark1986 on 28 Mar 2022 04:01:21 PM

Title: How to load dashboard using user login parameter?
Post by: shark1986 on 28 Mar 2022 04:01:21 PM
Hi guys, I need your help.

I'm developing a dashboard for some coordinators, they want it to load only their sector information, so I need to use a parameter to get their login data to be able to do that.

How to do this in Framework Manager??
Title: Re: How to load dashboard using user login parameter?
Post by: MFGF on 29 Mar 2022 07:31:12 AM
Quote from: shark1986 on 28 Mar 2022 04:01:21 PM
Hi guys, I need your help.

I'm developing a dashboard for some coordinators, they want it to load only their sector information, so I need to use a parameter to get their login data to be able to do that.

How to do this in Framework Manager??

Hi,

Usually, details like this are held in Session Parameters automatically. If you haven't looked at these yet, the documentation does quite a good job here:

https://www.ibm.com/docs/en/cognos-analytics/11.0.0?topic=rules-creating-session-parameters

The next question is usually "How do I translate the value from a session parameter into a value that makes sense in my data?"

This is where Parameter Maps come in. You can use these to tie your session parameter values to names or values that exist in your data:

https://www.ibm.com/docs/en/cognos-analytics/11.0.0?topic=modeling-parameter-maps

The final piece of the jigsaw is how to use session parameters and parameter maps in things like filters. For this, you need to use a macro:

https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=macros-creating

Cheers!

MF.
Title: Re: How to load dashboard using user login parameter?
Post by: shark1986 on 29 Mar 2022 07:39:10 AM
Thank you very much MF, I will look at each of the links to see if I can assemble the puzzle