The Problem
If HTML text is displayed instead of a clickable hyperlink, the link is being sanitized by the UI component in which the <a> tag is used.
This usually happens when the link is not an internal link. For example, the URL is not on a secure pricefx.com or pricefx.eu domain, or it does not start with # for a context link.
The sections below explain how to render clickable hyperlinks with external URLs in specific UI components.
Master Tables or Company Parameters Grids
If hyperlinks are expected in a column, check the column type first. The column may be unset or configured with an unsupported type such as Text.
Solution: Set the column type to Link. Other column formats sanitize <a> tags.
Line Items Grids
If hyperlinks are expected in a line item grid column, check the format type of the logic element that populates the column. The format type may be unset or configured with an unsupported type such as Text.
Solution: Set the format type of the element to Link.
ResultMatrix Grids
The column, where hyperlinks are expected, was not configured to have the right format in Groovy. The format was either not set at all or was set to a type that should not support hyperlinks, such as FieldFormatType.TEXT.
Solution: set or change the column type to FieldFormatType.LINK via ResultMatrix.withColumnFormats(columnFormats) (javadoc) or via ResultMatrix.withColumnFormat(columnFormat) (javadoc)
Need further assistance?
Contact Pricefx support.