on 07-04-2018 5:05 AM - last edited on 02-04-2024 4:17 AM by postmig_api_4
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.
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
<context-param>
<param-name>crystal_encode_html_for_single_line_field_objects</param-name>
<param-value>no</param-value>
</context-param>
Shawn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.