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
Yes
https://public.dhe.ibm.com/software/data/sw-library/cognos/mobile/scriptable_reports/ValuePromptControl.html
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!
Hello! Can anyone please help me with this.. I am still struggling to achieve the solution..