COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: srinu_anu2007 on 29 Jan 2014 06:16:32 AM

Title: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 29 Jan 2014 06:16:32 AM
Hi,

I have prompts in report page and where users will select the prompt values and they want to hide those prompts. How do we achieve this? we can able to do this using Jscript, if anybody is having any thoughts pls share or pls share the Jscript if ur having.

Thanks,
Title: Re: Hiding Prompts in Report Page
Post by: BigChris on 29 Jan 2014 06:37:07 AM
Not sure that I understand the requirement. Do you want to hide the prompts on the report page where the value has already been selected on the prompt page? If you do that then the user wouldn't be able to choose a different value from the report page.
Title: Re: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 29 Jan 2014 10:30:46 AM
Exactly. He will select whatever values he wants then after he will click on << this button and this will give him to hide the promts.

PFA.

Thanks,
Title: Re: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 30 Jan 2014 01:24:07 AM
Can anyone help on the specified requirement
Title: Re: Hiding Prompts in Report Page
Post by: Francis aka khayman on 30 Jan 2014 02:22:45 AM
create a prompt page that looks like your report page
Title: Re: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 30 Jan 2014 04:38:20 AM
I have created the prompt page then how should i create the next step? u understand my requirement?

Thanks,
Title: Re: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 31 Jan 2014 02:47:41 AM
Hello Experts,

Any help on my requirement
Title: Re: Hiding Prompts in Report Page
Post by: BigChris on 31 Jan 2014 02:51:45 AM
This is vague since I don't have a lot of time to test something for you. I'd go down the lines of creating a variable for each of the prompts...something like if(?prompt1? is missing) then ('yes') else ('no'). Then use that as a render variable for prompt1 on your report page. If that doesn't work post back and I'll see if I can think of something else for you.
Title: Re: Hiding Prompts in Report Page
Post by: srinu_anu2007 on 05 Feb 2014 03:33:04 AM
This is already i tried and it's occupying some space. and i got the some javascript in google and its better than what i tried, i have shown to users and we are waiting his response.

Thanks for ur support