COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: srinu_anu2007 on 07 Oct 2015 03:15:09 AM

Title: Hide Prompts
Post by: srinu_anu2007 on 07 Oct 2015 03:15:09 AM
Hi,

1. I have a value promt which is having 2 static choices like EMp and Dept.

2. When I select Emp, I am showing Bill Period(drop down-Value Prompt) and EmpNo(Select and Search Promt): This is fine for me

3. When i Select Dept, i am showing Bill Period(Value Prompt-Drop down),BU(Value Prompt-Drop down),Dept(Select and Search Promt),EmpNo(Select and Search Prompt).

as per my client requirement when he select point no #03 i.e EmpNo(Value Prompt-Drop down), Dept and BU prompts should disable.

I said it's not possible, it may work using javascript. Is it possible experts? anybody is having experience plsease post your answers.

Sorry small correction my post. When I am trying to enter a value in EmpNo(Select and Search Prompt) i.e Point 03 and remaining Dept and Bu should disable.

Thanks,
Title: Re: Hide Prompts
Post by: BigChris on 07 Oct 2015 03:49:02 AM
I'm not sure about disabling the prompts, but you can probably hide them with a render variable. You could probably make the EmpNo a cascading source for the other prompts, so that you'll know if they've selected #03.
Title: Re: Hide Prompts
Post by: srinu_anu2007 on 07 Oct 2015 06:50:38 AM
Thanks Chris for your prompt response.

how to do with render variable iam not getting here, i need to disable two prompts.

Thanks,
Title: Re: Hide Prompts
Post by: BigChris on 07 Oct 2015 08:37:21 AM
Disabling them would almost certainly need JavaScript...and I'm afraid I don't do JS. My suggested solution would just find those prompts
Title: Re: Hide Prompts
Post by: sdf on 08 Oct 2015 04:40:07 AM

This is confusing. So you have a prompt that lets you choose/select other prompts to show?
You can google or search in youtube about render variable.
You can also use conditional block and use parameter values.

Found an article http://www-01.ibm.com/support/docview.wss?uid=swg21388290 (http://www-01.ibm.com/support/docview.wss?uid=swg21388290) that might help.


Cheers!
Title: Re: Hide Prompts
Post by: srinu_anu2007 on 08 Oct 2015 04:55:09 AM
Thanks for your help SDF. I tried with google example and its not working, then only i posted my question.

I changed the requirement(removed) and my client agreed to remove that one. I am very happy now and Once again Thanks for all your help.

Thanks,