COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: gauravd20 on 02 Jul 2008 12:29:40 AM

Title: How to use URL interface to connect to Report viewer using SDK??
Post by: gauravd20 on 02 Jul 2008 12:29:40 AM
How to use java.net.URL interface to connect to Report viewer using SDK??
Please explain.....
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: lindero on 02 Jul 2008 06:38:28 AM
Please provide more information what you wanna do.

cheers
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: gauravd20 on 03 Jul 2008 02:15:52 AM
I want to use java.net.URL interface to connect to Report Viewer.I know that URL interface can be used in COGNOS to run, view,and edit reports through a hyperlink in a Web page and wondering how to do it.....

In other words how can we use the URL interface to automate Cognos 8 actions by passing commands and parameters in a URL.
Hope that clarifies my question.....
Thanks,
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: lindero on 04 Jul 2008 03:31:18 AM
Have a look in the documentation installed with the Cognos SDK. Take the Developer Guide and go to Chapter 5. There you will find which tasks you can do with URL.

My understanding of using URLs is that - as you mentioned - to view or run reports within a web page, so to call reports from another webpage. That's all. When you use the SDK you need to deal with RunOption and other objects to pass run options and parameters to the report. So a java.net.URL object is not applicable in the case.
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: gauravd20 on 09 Jul 2008 01:12:30 AM
Ok.Thanks so much !
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: shukla.neha31 on 26 May 2009 06:37:56 AM
hi
I m very new to cognos...I need to view and run cognos reports in the application build in java i dont have the sdk docs ...is there any other way if not can u pls forward sdk docs
Title: Re: How to use URL interface to connect to Report viewer using SDK??
Post by: shukla.neha31 on 26 May 2009 06:51:31 AM
hi lindero,

myself neha..i m very new to cognos i would be really thankful to u if u cld assist me a little to start ....
I m creating an application in that application i need to view and run the cognos reports..I need some api to connect to the application ..i am using java as the technology for interfacing..

thanks!!!!!!!!!!!!!