COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: sukanya on 16 Jun 2017 01:42:54 PM

Title: pickup .pdf file cognos server
Post by: sukanya on 16 Jun 2017 01:42:54 PM
Can we pickup .pdf file from cognos server location and show it on a report? Anyone previously done please share the process you have done it.

Thanks,
Sukanya
Title: Re: pickup .pdf file cognos server
Post by: New_Guy on 20 Jun 2017 04:17:21 PM
Hi,
You cannot embed the output of a report in another report. All you can do is run the report you want to show and save it and place a hyperlink in another report with the saved report search path and url and the user can click and can see the output. Another option is using report reference or drill through.
Good luck
New guy
Title: Re: pickup .pdf file cognos server
Post by: sukanya on 22 Jun 2017 02:08:45 PM
can you elaborate on "Another option is using report reference or drill through"? So, in our case we will have multiple .pdf's in a location on cognos server. Just like we access the images from cognos server can we access the .pdf's from cognos server location?

Thanks
Title: Re: pickup .pdf file cognos server
Post by: MFGF on 23 Jun 2017 03:21:52 AM
Quote from: sukanya on 22 Jun 2017 02:08:45 PM
can you elaborate on "Another option is using report reference or drill through"? So, in our case we will have multiple .pdf's in a location on cognos server. Just like we access the images from cognos server can we access the .pdf's from cognos server location?

Thanks

You could perhaps look into using HTML items and the OBJECT tag to embed PDFs into your report page? It would only work when rendering as HTML though.

Here's a little light reading...

https://devcereal.com/how-to-embed-pdf-html/

MF.