Skip to Content
0
Aug 01, 2023 at 04:16 AM

Dynamically embed PDF - Change OLE file source

88 Views

Hello SAP Community,

place-holder-pdf.png


I am trying to dynamically embed a PDF in SAP Crystal Reports 2016, similar to this question which was answered, but I am unable to follow the steps successfully.

- Notable Differences
  • I am not using a database to retrieve the PDF's URL
  • The PDF URL is a parameter, which I intend to pass from the main report (this is going to be a sub report)

- Steps I followed

  1. Go to insert "OLE Object"
  2. Select "Adobe Acrobat Document"
  3. I linked to my "Place Holder PDF"
  4. I placed the "Place Holder PDF" into the details section of the report
  5. From the context options menu I went to "Format Graphic" and on the "Picture tab" I changed the "Graphic location" formula to PATH

cr-formula.png


- Testing

  • I passed the same URL Path into the Hyperlink formula option.
  • Clicking on the PDF opened the correct PDF in the default application handling PDFs on my system.

Could this be a problem with the OLE handler?

I am using Adobe Reader XI, and have tested this on a system with Adobe Acrobat DC installed.

Any help or clarification is kindly appreciated.

Thanks and Regards,

Tarquinn

Attachments

cr-formula.png (26.0 kB)