Adding Rich Text Data Element in BI Publisher/Oracle Analytics Publisher Report and Custom Print

Unifier supports custom print, and custom report, for the “Rich Text” data element. You can use the “Rich Text” data element (of your BP form) in your data model. Furthermore, the HTML version of the “Rich Text” data element can be rendered as HTML, in the report, if the HTML version needs to be seen in BI Publisher/Oracle Analytics Publisher template.

To include the “Rich Text” data element:

  1. Go to the report template file, for “Rich Text” data element.

    The Rich Text fields in the BI Publisher/Oracle Analytics Publisher template file are prefixed with: ?html2fo. For example, if the DE name is RTECODE, the DE name must be wrapped as it was in the template file as: <?html2fo: RTECODE?>. This will allow the template processor to treat the element as HTML.

  2. To view the Rich Text type DE in correct format, in the BI Publisher/Oracle Analytics Publisher reports (in the BI Publisher/Oracle Analytics Publisher server), go to the data model editor for the report and set the data type of the RTECODE data element column to XML.

In the BI Publisher/Oracle Analytics Publisher, the Rich Text type DEs can be found in the <model>_richtext data model. In addition, when defining queries and Data Links in Custom Templates:

When you add a Rich Text type DE to the custom print template:

The following HTML elements will not work in the PDF output format:

The following HTML elements will not work in the RTF output format:



Last Published Tuesday, December 12, 2023