SAP Knowledge Base Article - Public

2499119 - HTML Formatting Within Field Label is not Working - Recruiting Management

Symptom

HTML Codes added to the field-label in within Recruiting Module XMLs are not rendered properly. Instead, the HTML code is displayed in Candidate Profile, Application and /or Job Requisition.

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

Configure fields in the Job Requisition, Application, Offer Approval and/or Candidate Profile with HTML codes added to the field-label.

Example:

<field-definition id="country" type="picklist" required="true" custom="false" anonymize="false">
<field-label mime-type="text-plain"><![CDATA[Country ]]></field-label>
<field-label mime-type="text-html" lang="en_US"><![CDATA[Country: <br><b><i>html test</i></b>]]></field-label>
<field-description><![CDATA[Country ]]></field-description>
<picklist-id>country</picklist-id>
</field-definition>

Cause

HTML is only supported in instructional texts as long as the mime-type attribute is set to text-html. HTML tags are not supported to be used in the field-description. As a part of data protection and privacy, HTML codes are not allowed to be configured for picklist fields. This is an expected behavior by design.

Resolution

For this case, the most recommended would be to not use the HTML tags in non-instruction fields as the behavior can't be predicted. But, in case you want to use it, the suggestion would be to only use in instruction type fields.

See Also

2089419 - System: Using HTML or custom code within the SuccessFactors Application - BizX Platform

Keywords

KBA , LOD-SF-RCM , Recruiting Management , Problem

Product

SAP SuccessFactors Recruiting all versions