COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: ztruelove on 04 Jan 2018 06:39:26 PM

Title: JavaScript reference?
Post by: ztruelove on 04 Jan 2018 06:39:26 PM
While I can stumble upon random JavaScript solutions to specific problems here and there, I'm wondering if there's actual reference material on using JavaScript with Cognos (objects, methods, etc.).  Suggestions?
Title: Re: JavaScript reference?
Post by: rockytopmark on 04 Jan 2018 06:40:10 PM
Quote from: ztruelove on 04 Jan 2018 06:39:26 PM
While I can stumble upon random JavaScript solutions to specific problems here and there, I'm wondering if there's actual reference material on using JavaScript with Cognos (objects, methods, etc.).  Suggestions?
Cognospaul.com

Sent from my SM-G950U1 using Tapatalk

Title: Re: JavaScript reference?
Post by: ztruelove on 04 Jan 2018 06:43:26 PM
Quote from: rockytopmark on 04 Jan 2018 06:40:10 PM
Cognospaul.com

Sent from my SM-G950U1 using Tapatalk

Thank you!  I'll check that out.
Title: Re: JavaScript reference?
Post by: MFGF on 05 Jan 2018 03:31:23 AM
Quote from: ztruelove on 04 Jan 2018 06:39:26 PM
While I can stumble upon random JavaScript solutions to specific problems here and there, I'm wondering if there's actual reference material on using JavaScript with Cognos (objects, methods, etc.).  Suggestions?

Have you looked at the documentation and samples for the Prompt API?

https://www.ibm.com/support/knowledgecenter/en/SSEP7J_10.2.0/com.ibm.swg.ba.cognos.ug_cr_rptstd.10.2.0.doc/c_prmpt_api_overview.html
https://www.ibm.com/support/knowledgecenter/en/SSEP7J_10.2.1/com.ibm.swg.ba.cognos.ug_cr_rptstd.10.2.1.doc/c_rs_smples_prompt_api.html

Paul's blog is (as suggested by Mark) also an excellent place to find out how to do things both using and outside of the Prompt API.

Cheers!

MF.
Title: Re: JavaScript reference?
Post by: ztruelove on 05 Jan 2018 04:13:56 AM
I was actually going to ask about Prompt API today. Is there a separate module that needs to be installed? Or is it just baked into the standard Cognos 10.2 installation? I didn't see any references to a separate install anywhere, but I found it interesting that they gave it its own name.
Title: Re: JavaScript reference?
Post by: MFGF on 05 Jan 2018 07:38:23 AM
Quote from: ztruelove on 05 Jan 2018 04:13:56 AM
I was actually going to ask about Prompt API today. Is there a separate module that needs to be installed? Or is it just baked into the standard Cognos 10.2 installation? I didn't see any references to a separate install anywhere, but I found it interesting that they gave it its own name.

It's an integral part of the core BI install, so not something you can install on its own or separately. If you've installed Cognos BI server, you have the Prompt API baked into it (provided you're on 10.2 and later)

Cheers!

MF.
Title: Re: JavaScript reference?
Post by: ztruelove on 05 Jan 2018 07:50:53 AM
Perfect! I'll read up on that this weekend then. Thanks!!