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

Set prompt value before prompt page appears

Started by bladeless, 17 Aug 2015 03:07:36 PM

Previous topic - Next topic

bladeless

Hello everyone,

Could anyone help me with this question:
Is it possible to set prompt value before prompt page appears?
For example: JavaScript launches and sets some prompt value, then prompt page appears, and we see prompt checkbox that were filtered by cascaded prompt tool that were setted by JavaScript.

cognostechie


BigChris

I don't know about Javascript, but you can set a default value for a prompt

Raghuvir

Quote from: bladeless on 17 Aug 2015 03:07:36 PM
Hello everyone,

Could anyone help me with this question:
Is it possible to set prompt value before prompt page appears?
For example: JavaScript launches and sets some prompt value, then prompt page appears, and we see prompt checkbox that were filtered by cascaded prompt tool that were setted by JavaScript.

Hi bladeless,

Rightly said by BigChris, why not set a default value for the prompt instead of using any javascript. Its an inbuilt property for the prompt which will make your task easier with less complexity.

Regards

bladeless

#4
Thank you, all for your response!

To cognostechie
QuoteYes, it's possible.
How can I do it(using JavaScript)?

To all
Quoteyou can set a default value for a prompt
I knew about the feature. But, I have date prompt in the prompt page, and when I set a default value for a prompt, it is also sets default value for date prompt (current date, also used as required filter in a query). How can I avoid it?