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

JavaScript reference to value prompt

Started by qvixote, 13 Jul 2015 12:13:49 PM

Previous topic - Next topic

qvixote

Hello!

I started this same thread in Cognos 8 Report Studio by mistake. It must be here.

Here at my job I have some reports that use javascript to set the default value in a datepicker placed in a prompt page. I need to replicate the same functionallity in another report, but instead datepickers there's value prompts (select lists).

In the javascript code of the existing report with datepickers, there's a line referencing to the datepicker like this:

pickerControlFechaDesdeP.setValue(strDomingoAnterior);

Where "FechaDesdeP" is the datepicker and "strDomingoAnterior" is the variable with the value to set. What do I need to use insteas "pickerControl..." when using value prompts?

Thanks.

gpollock

Hi qvixote!

I tried viewing source and couldn't find the one of my prompts.  Here is a guide from IBM on how to retrieve the name of a prompt.  https://www-304.ibm.com/support/docview.wss?uid=swg21376964

shubh09

Hi Team,

I am unable to open the link mentioned in above comment, can you please provide correct link??

Thanks!


chinnucognos

Deal with it!