If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

invoking SDK code through javascript

Started by cognosfreelancer, 15 Jun 2007 03:20:58 PM

Previous topic - Next topic

cognosfreelancer

Folks

Here is my scenario.

A user opens a report executes the initial prompt screen to get report output in HTML with additional prompts in the output.

The user selects values from the additional prompt and double clicks a JavaScript button.

The JavaScript should be able to pick up the prompt values and invoke SDK code and pass in the prompt values to it.

The SDK code should re run the same report with the new prompt values. This is different from typical SDK applications in that normally SDK executes a report stored in the content store.

Any thoughts or ideas

Thanks
NKT

that_pesky_guy

FWIW, you can't invoke SDK code directly through JavaScript. Your script would have to be backed up server-side by a servlet/JSP/ASP page that would read the request, then invoke the SDK. You could do that with an AJAX call from within your browser-side script.