1701798 - How to export HTML tags using Crystal Reports

SAP Knowledge Base Article - Public

1701798 - How to export HTML tags using Crystal Reports

Symptom

  • Database field consisting of HTML character entity is not interpreted in Crystal Reports
  • HTML character entity is interpreted in the browser but when exported to PDF format, it shows the tag and not the value for it.

Environment

Crystal Reports 2008

Reproducing the Issue

  1. Create a report consisting of HTML character entity. Example &nbsp or &quot
  2. Place the field on the designer and refresh the report.
  3. Save the report to the Enterprise and view it in the browser. Keep the view format as Web in the Enterprise.
  4. Export the report to PDF format from the Enterprise

Note: In Export and in Crystal Report the HTML tag will not be interpreted. However in the viewer the HTML tag will be interpreted.

Resolution

Follow the steps given below to resolve the issue:

  1.  Right click on the field in Crystal Reports
  2.  Select the option Format Field >> Paragraph(Tab) >> Select the option HTML Text from the drop down of Text Interpretation >> Click OK
  3.  Save the report to Enterprise

See Also

1217084 - What are the supported HTML tags and attributes with HTML Text Interpretation?

Keywords

HTML, Crystal Reports, PDF, , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V0