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:
- 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.
- 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:
- The Rich Text type DE from the BP richtext views (model_richtext) must be restricted.
- The plain Rich Text type DE content, from the BP model, must be allowed.
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:
- Table
The borders will not display.
- Alignment
The left, right, and indent will not work.
- Image
Will not display.
- Code block
Will not work.
The following HTML elements will not work in the RTF output format:
- Table
The borders will not display.
- Alignment
The left, right, and indent will not work.
- Code block
Will not work.
- Block Quote
Will not work.
Note: The Rich Text Data Element does not support indentation, bullets, or numbering, when configured in Custom Print or Custom Report.
Last Published Tuesday, December 12, 2023