COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: LDJB81 on 13 Mar 2013 10:38:23 AM

Title: Access object properties for conditional styling
Post by: LDJB81 on 13 Mar 2013 10:38:23 AM
Hi

Scenario:

I have 2 blocks on a page and I would like to apply a conditional style to block 2 based on the properties of block 1. So when the "Box Type" of block 1 "None" then apply a size to block 2. If the "Box Type" is default then apply a different size.

Is this possible?

Thanks
Lloyd
Title: Re: Access object properties for conditional styling
Post by: RKMI on 13 Mar 2013 10:48:40 AM
Hi Lloyd,

You can nest a block within a conditional block and specific a render variable on conditional block so it will show the relative size vs the default. I hope this makes sense.

Thanks,
RK
Title: Re: Access object properties for conditional styling
Post by: LDJB81 on 13 Mar 2013 11:09:59 AM
Ok thanks i'll try that.
Title: Re: Access object properties for conditional styling
Post by: Rahul Ganguli on 15 Mar 2013 02:56:29 AM
How did you decide what will be the box type of Box 1?

Regards,
Rahul