COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => SDK => Topic started by: charon on 17 Jun 2013 03:14:38 AM

Title: Filling Parameters
Post by: charon on 17 Jun 2013 03:14:38 AM
Hiho everybody,

im thinking about a workaround for a special requierment, which is "copy and paste" from a third party tool into the search prompts of cognos.
My Idea is to programm a small java gui which copy the content of the clipboard into the cognos ?paramter? directly.

As far as i know cognos 10.2 has a new prompt api..does anybody has already some experiences? I have never worked with SDK bevor, are there any good documentations out there? (like the cookbook for active reports, which was awesome).
Thx for any advices...regards :P
Title: Re: Filling Parameters
Post by: CognosPaul on 28 Jun 2013 09:19:22 AM
I just saw this. Take a look at the Prompt API samples. There's a sample that shows saving the results to a cookie and reading from the cookie. I've had some success writing to/from a file with some modifications to that.

So for your purpose I'd create a text field with an on change event that would attempt to parse the text and set the prompts (they can be hidden).
Title: Re: Filling Parameters
Post by: charon on 30 Jun 2013 07:53:51 PM
Hi Paul..thx for the response :)
Using Cookies...interesting idea. Gone try this...
best regards :P