COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Business Insight / Cognos Workspace => Topic started by: jeeva on 20 Jul 2014 05:27:34 AM

Title: Condtional block issue in workspace
Post by: jeeva on 20 Jul 2014 05:27:34 AM
Hi,

i need to create dashboard reports using all existed reports. in these reports i used conditional block . when i open these reports in cognos workspace tool, conditional block showing default name like "others" and "1". instead of these default names i need to specify meaning full name, but  conditional block don't have a name property to specify the name in report studio.

how can i specify the name for conditional block. if is there any way please suggest me.

thanks in advance.
Title: Re: Condtional block issue in workspace
Post by: MFGF on 21 Jul 2014 04:22:55 AM
Quote from: Thanay on 20 Jul 2014 05:27:34 AM
Hi,

i need to create dashboard reports using all existed reports. in these reports i used conditional block . when i open these reports in cognos workspace tool, conditional block showing default name like "others" and "1". instead of these default names i need to specify meaning full name, but  conditional block don't have a name property to specify the name in report studio.

how can i specify the name for conditional block. if is there any way please suggest me.

thanks in advance.

If memory serves, conditional blocks display the values you set into them. I'm guessing your conditional block has an expression that resolves to 1 or else takes the default (other)? You're going to have to change the expression that drives your conditional block, I think.

MF.
Title: Re: Condtional block issue in workspace
Post by: jeeva on 22 Jul 2014 03:22:58 AM
Hi MFGF,

thanks for reply.

actualy we used boolean variables to render this conditional block in reports. am thinking because of this boolean variable values(yes and no), it is displaying others and 1 in workspace. so now i changed these boolean variables to string variables for render this condtional block. now these condtional block name displaying as i expected like meaning full name.

but, when am creating string variables it automatically creating "other" value. even am not using this "other" value for render this condtional block in report studio, it is showing in workspace. how can i delete this "other" value of string varible.

please find the attachment.
Title: Re: Condtional block issue in workspace
Post by: MFGF on 22 Jul 2014 10:46:44 AM
Quote from: Thanay on 22 Jul 2014 03:22:58 AM
Hi MFGF,

thanks for reply.

actualy we used boolean variables to render this conditional block in reports. am thinking because of this boolean variable values(yes and no), it is displaying others and 1 in workspace. so now i changed these boolean variables to string variables for render this condtional block. now these condtional block name displaying as i expected like meaning full name.

but, when am creating string variables it automatically creating "other" value. even am not using this "other" value for render this condtional block in report studio, it is showing in workspace. how can i delete this "other" value of string varible.

please find the attachment.

I don't know of a way that you can. The "other" option is there as a catch-all, in case the string variable resolves to something your expression hasn't catered for.

Cheers!

MF.
Title: Re: Condtional block issue in workspace
Post by: jeeva on 22 Jul 2014 12:27:47 PM
i will explain my problem in details.

we have pdf and html format reports output in single report, for this we used conditional block and we are rendering these conditional block by using boolean variables . these reports working fine.

but, when i open these reports in cognos workspace tool, it is showing two conditional block objects with default names like "others" and "1".   here "1" block representing HTML report and "other" block representing PDF report. .  instead of these default names i need to specify meaning full name like html and pdf.  but conditional block don't have name property to specify the name in report studio.

how can i change these object names for dashboard reports.
please give me your valuable suggestions.

please look into attachment.

thanks


Title: Re: Condtional block issue in workspace
Post by: jeeva on 30 Jul 2014 07:26:10 AM
..