COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: adik on 19 Aug 2013 04:50:10 AM

Title: Prompt API Documentation
Post by: adik on 19 Aug 2013 04:50:10 AM
Hi,

Does anyone have any official documentation on the new prompt api for cognos 10.2? i've searched the web but did not find any complete reference manual, just some blog entries that only give short examples.
Title: Re: Prompt API Documentation
Post by: MMcBride on 19 Aug 2013 07:46:53 AM
http://public.dhe.ibm.com/software/data/cognos/documentation/docs/en/10.2.1/ug_cr_rptstd.pdf (http://public.dhe.ibm.com/software/data/cognos/documentation/docs/en/10.2.1/ug_cr_rptstd.pdf)

Appendix H: Prompt API for Cognos BI
Title: Re: Prompt API Documentation
Post by: adik on 22 Aug 2013 09:20:02 AM
thanks, found it as well, i was kind of hoping for something more detailed
Title: Re: Prompt API Documentation
Post by: CognosPaul on 22 Aug 2013 09:58:00 AM
I guess you've seen my articles on the prompt api?

The samples include a series of reports showing off pretty much all of the functionality. Around 90% of my clients requirements can be filled by adapting the examples.

If you're looking for a more details on the functionality look for the prompts javascript file in the webcontents folder.

Are you trying to do something specific?
Title: Re: Prompt API Documentation
Post by: adik on 23 Aug 2013 12:50:10 AM
Hi Paul,

Yeas I've seen your blog (i watch it daily for new posts :) ) and also the prompt api samples. Indeed they cover most of the needs for reporting. I'm not looking on doing anything special at the moment, but it doesn't hurt to be prepared.
Title: Re: Prompt API Documentation
Post by: Hardik Binnani on 19 Jul 2020 03:03:19 PM
Hi Paul,

Can I add values to a value prompt using the API?
e.g. my prompt name is 'country'. The value I have to add in the prompt is: USE='10', DISPLAY='US'.

If yes, can you help me with an example how?

Much appreciated.