COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: sdf on 01 Mar 2018 07:25:24 PM

Title: add funtion to repromt button
Post by: sdf on 01 Mar 2018 07:25:24 PM
hi,

there's a requirement when reprompt button is clicked, it should clear out some parameters from selected prompts.
would anyone know a javascript to do this? and how to apply them.

thanks!
Title: Re: add funtion to repromt button
Post by: MFGF on 02 Mar 2018 05:14:02 AM
Quote from: sdf on 01 Mar 2018 07:25:24 PM
hi,

there's a requirement when reprompt button is clicked, it should clear out some parameters from selected prompts.
would anyone know a javascript to do this? and how to apply them.

thanks!

Hi,

I'm afraid I don't write JavaScript at all, but a good place for you to start looking is the Prompt API samples:

https://www.ibm.com/support/knowledgecenter/en/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.ug_cr_rptstd.10.2.2.doc/c_rs_smples_prompt_api.html

Cheers!

MF.