COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: sunchaser2 on 26 Dec 2008 12:46:13 PM

Title: Using Post method for launching reports.
Post by: sunchaser2 on 26 Dec 2008 12:46:13 PM
Hi,

I'm trying to launch a report  using POST method and trying to pass parameters.
May be it will sounds very easy to some of you, but I don't have any result, the submit button of my form makes me going back to the main page of the portal; and nothing else ...

I was using a "classical" method with URL and parameters in order to launch a report from a "personal" page, but as the size of URL seems limited (particularly in IE), I don't want to take a risk an would like to use POST method (it seems that there is no URL size limitation in this case, isn't it ?).
So, I've a very simple FORM in HTML page, and would like to know what is the right syntax ...
(yes, I know, it's a shame, but HTML and things like that are still like aliens to me sometimes  ;D)

A simple example would be very appreciated.
Thanks,
vinc.
Title: Re: Using Post method for launching reports.
Post by: sunchaser2 on 26 Dec 2008 01:26:17 PM
Hi,

Ok, everything was written in the Cognos support ... the first thing I had to do was to look at it, and now the problem is solved.

Title: Re: Using Post method for launching reports.
Post by: DustPanMan on 27 Dec 2008 10:57:26 AM
Here is a simple example of how to use Post in a form:

<FORM action="http://somesite.com/prog/adduser" method="post">
...form contents...
</FORM>