If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Hide 'Business Layer' namespace in package

Started by Invisi, 03 Feb 2017 08:22:59 AM

Previous topic - Next topic

Invisi

I just publish my first package based on only the business layer in my fresh model. Thing is that now in Report Studio I see 'Business Layer' and then my query subjects. This because when I make my package, I can't hide the namespace without hiding all its children also. How do I get rid of the useless 'Business Layer' text? I have done it once with another clients 2 years ago, but I forgot how.
Few can be done on Cognos | RTFM for those who ask basic questions...

Lynn

Quote from: Invisi on 03 Feb 2017 08:22:59 AM
I just publish my first package based on only the business layer in my fresh model. Thing is that now in Report Studio I see 'Business Layer' and then my query subjects. This because when I make my package, I can't hide the namespace without hiding all its children also. How do I get rid of the useless 'Business Layer' text? I have done it once with another clients 2 years ago, but I forgot how.

You can "Unselect Component and Children" at the root namespace of your project and then specify "Select Component" for any elements that you want to include.

This will generate an information message for all the query subjects when you validate the package saying something like:


BMT-MD-2005 This package contains Shortcut "[XYZ Namespace].[XYZ query subject]"
which references Query Subject "[XYZ Business View].[XYZ query subject]" by property 'Target Object Reference'.
However, "[XYZ Business View].[XYZ query subject]" is not included in the package.
To prevent reporting errors "[XYZ Business View].[XYZ query subject]" will be included in the published model,
but will be hidden from the report author.


I don't know if this is the best (or only) way to achieve the result so maybe others will chime in also. It can be a lot of clicking to select everything you need but otherwise it is not a big problem to manage.

bdbits

Lynn's method is what I have used, also. The messages are annoying, but it is the only way I am aware of to do this.

raj_aries81

Quote from: Invisi on 03 Feb 2017 08:22:59 AM
I just publish my first package based on only the business layer in my fresh model. Thing is that now in Report Studio I see 'Business Layer' and then my query subjects. This because when I make my package, I can't hide the namespace without hiding all its children also. How do I get rid of the useless 'Business Layer' text? I have done it once with another clients 2 years ago, but I forgot how.

if objective is to hide the whole namespace, how about using object security and then deny access to everyone.that way you dont have to manually go and hide each query subject

Thanks
Raj

Invisi

Quote from: Lynn on 03 Feb 2017 08:47:25 AM
You can "Unselect Component and Children" at the root namespace of your project and then specify "Select Component" for any elements that you want to include.


YES!!!!! I lost the pesky useless namespace in between!

I already got the warnings of course, but I had a namespace that added nothing. Now the useless namespace is gone.
Few can be done on Cognos | RTFM for those who ask basic questions...