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 Clarification Required

Started by Desperado, 01 Jun 2007 09:04:39 AM

Previous topic - Next topic

Desperado

Do we need to change the existing javascripts (Cognos reportNet ) if we want to use the same in Cognos 8.2 ? 

goose

Assuming "javascripts" is your custom javascript used to access prompt controls no you wont. But you may might want to read this post http://www.cognoise.com/community/index.php?topic=2327.0


Desperado

Thank you for the reply .
I saw the example in the link specified ..... How do you Auto submit the value ??? It's not working for me .
Do i need to use this :
setTimeout('listBox<fieldname>.autoSubmit()', 100);
if it is to be used , then do i need to specify the field name ??? what is the field name there ?
is that the queryitem which we are using for the prompt ?
how do i specify it ??
can i just use the name or do i need to type in the [package name].[QS name].[Query item]
i tried it ,but it didnt work for me ....

thanks in Advance

goose

Hi Desperado - please can you explain what what you are trying to achieve?

cognos8_1

setTimeout('listBox<fieldname>.autoSubmit()', 100);

Here field name is the name of the control on the prompt page or report page. Since it is 'ListBox',  check what name has been given for the ListBox in the propertise pane (under 'name' ). Mention the same 'name' at the above <field name>


Desperado