Skip to Content

Display Image/PDF in Crystal report by send webservice as Datasource in CR Runtime

I am using this URL as web service datasource and trying to get the image/byte data by the web service.

I am not going to use a code behind file or set crystal report datasource property from code behind.

Is it possible to show image/pdf into crystal report with send some parameter along with xml and web service datasource property directly.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Dec 17, 2018 at 11:30 PM

    Hi there,

    A couple points:

    1. You can embed a PDF into a report as an OLE object - however it will only display the first page as an image. And you can't base it off of a URL.

    2. You can potentially embed the PDF via a URL by enabling all HTML using the "EncodeHTMLForSingleLineFieldObjects" switch. You could add some html embed code to display the PDF document - however the report would not print or export correctly.

    e.g. [HKLM\Software\Business Objects\<version>\Components\DHTMLViewer\EncodeHTMLForSingleLineFieldObjects]

    Value: no

    Web.XML Param






    Add comment
    10|10000 characters needed characters exceeded