COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Sarayucog on 18 Mar 2011 02:14:25 AM

Title: How to get the alerts in report studio
Post by: Sarayucog on 18 Mar 2011 02:14:25 AM
Hi Gurus,

I have a reprot with 5 prompts. In that 3 prompts are mandatory prompts.

My problem is if user without selecting any mandatory prompt clicked on Finish button an alert should come like Please select the mandatory prompts.

I think we can achieve this by using Java script, but I don't know the scripting. Please post me the java script code and pls let me know how to assign this java script code to the object in the report.
Title: Re: How to get the alerts in report studio
Post by: AussiePete2011 on 20 Mar 2011 05:13:28 PM
http://public.dhe.ibm.com/software/dw/dm/cognos/reporting/scripting_techniques/BI-Restrict_Tree_Prompt_Selection_with_JavaScript.pdf