COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Shailaja0520 on 06 Jul 2010 12:24:11 PM

Title: open pdf report in new window
Post by: Shailaja0520 on 06 Jul 2010 12:24:11 PM
hi,
i have to open the pdf report in new window.
This i have done with the _blank. As i dont  know the Url of the pdf to be used in window.open.
now the pdf report opens in new window but the problem is -

suppose i have a prompt value in the report  page when i first change the prompt value and open the report in pdf, it opens in a new window,
when changed second time and open the report in pdf then the values get append to the first selection..

But the third time the page is not getting refreshed  , that is i am not able to do any change in the prompt value...

This is very strange that the values can  be changed and can be seen in pdf output only 2 times.not the 3rd time..

Any help will be greatly appreciated.
Title: Re: open pdf report in new window
Post by: Auser on 12 Apr 2016 06:54:54 AM
 have a report that pulls data accurately on initial run. There's a Refresh link at the bottom of the report that refreshes the data on click, by reusing the pre-selected prompt values.

<a href="javascript:void(0)" onclick="promptButtonFinish();">Refresh Data</a>
This used to work on old Cognos versions (8 or less). In 10+ Cognos,all promptButtonFinish() does is redirect to the first page of the report without actually "refreshing" the data content.

Is there any other function that could do the trick (i.e. refresh data and stay put on selected page)?