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? For example, I have a value prompt named 'country'. And if I want a display value: 'US' and use value: 1; how would I achieve it in JS?
Thank you! Hardik
Yes. Here is a link to the Cognos report scripting documentation.
https://public.dhe.ibm.com/software/data/sw-library/cognos/mobile/scriptable_reports/ValuePromptControl.html