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

Add data to a value prompt using javascript in Cognos 11

Started by Hardik Binnani, 07 Jul 2020 01:27:50 PM

Previous topic - Next topic

Hardik Binnani

Hello Everyone!

I am very new to post in this portal. Always been a silent reader. :)

I would like to know if we can add data in a value prompts using java script? The data doesn't come from any query subject, but hard-coded in java script?

Thank you,
Hardik
Thank you,
Hardik Binnani


Hardik Binnani

Thanks Dougp for your response.

Actually, I am not much familiar with java scripting and I am trying to swim hard in this ocean.

I have a prompt named 'country'. And if I want a display value: 'US' and use value: 1; how would I achieve it in JS?
The reference that you have provided, I have gone through it, but not able to develop a code for it.

Thank you!
Thank you,
Hardik Binnani

Hardik Binnani

Hello! Can anyone please help me with this.. I am still struggling to achieve the solution..
Thank you,
Hardik Binnani