COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: chegney on 18 Jul 2013 02:44:16 PM

Title: Display a conditional page based on availability of a namespace in the model...
Post by: chegney on 18 Jul 2013 02:44:16 PM
Is this possible? We have a namespace within our data model that is only available for certain users. Rather than a cryptic error message, I would like to display a friendly page to those who don't have access to this namespace.
Title: Re: Display a conditional page based on availability of a namespace in the model...
Post by: chegney on 19 Jul 2013 09:13:59 AM
What I am asking is an nice way to handle the error below and provide the user with more information.


GEN-ERR-0002

      The object '<model object>' used in the expression is not accessible for the current user.

     Details
DPR-ERR-2082 An error has occurred. Please contact your administrator. The complete error has been logged by CAF


Title: Re: Display a conditional page based on availability of a namespace in the model...
Post by: Lynn on 22 Jul 2013 10:34:16 AM
Does CSVIdentityNameList help identify the security groups a user belongs so you can render accordingly? If you can explain how security was implemented so only certain users can see the namespace then perhaps others might have better suggestions.

http://pic.dhe.ibm.com/infocenter/cbi/v10r1m1/index.jsp?topic=%2Fcom.ibm.swg.ba.cognos.ug_fm.10.1.1.doc%2Fc_usingthecsvidentitynamelistmacrofunction.html