SAP Knowledge Base Article - Public

3120892 - Adding a Required override causes field to disappear from Candidate Application

Symptom

Adding a required attribute override in the Application template when there is already a public override for the same field causes the field to disappear from the Application form when applying as an external or internal candidate

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Define a field in the application template as follows:

    <field-definition id="testField" type="picklist" required="false" custom="true" public="false" readOnly="false" anonymize="false" forward-intact="false" sensitive="false">

  2. Define an override for the field to change it to be public=true for certain countries i.e. this override means that the testField will only be visible on Job Requisition applications in the UK and Ireland for both internal and external applicants:

    <field-attr-override>
      <override>
        <description><![CDATA[Make fields public for these countries]]></description>
        <country><![CDATA[GB]]></country>
        <country><![CDATA[IE]]></country>
        <field-attr attribute="public" value="true" applicant="both"/>
      </override>
      <field refid="testField"/>
    </field-attr-override>

  3. Then create another override to set is as required for just one country i.e. this override will mean that the testField is a required field only for Job Requisition applications in the UK for both internal and external candidates:

    <field-attr-override>
      <override>
        <description><![CDATA[Make fields required for UK only]]></description>
        <country><![CDATA[GB]]></country>
        <field-attr attribute="required" value="true" applicant="both"/>
      </override>
      <field refid="testField"/>
    </field-attr-override>

  4. The field is now no longer visible from the Application Page when applying as an external or internal candidate

Cause

This is caused by declaring two overrides that conflict with each other

Resolution

Add both attributes to the override in order for the field to appear as required:

<field-attr-override>
  <override>
    <description><![CDATA[Make fields required for UK only]]></description>
    <country><![CDATA[GB]]></country>
    <field-attr attribute="public" value="true" applicant="both"/>
    <field-attr attribute="required" value="true" applicant="both"/>
  </override>
  <field refid="testField"/>
</field-attr-override>

NOTE: It is not possible to update both attributes in the one override via Manage Templates. This must be done via the application XML template directly by the Implementation Partner or SAP Professional Services. 

If you would like to have this behaviour improved so that this can be done via Manage Templates, please refer your scenario and business in the Influence Portal where our Product Management team will be analysing your case and if successfully voted and approved, can be implemented in further product releases. Please refer to the following article for any additional information: 2090228 - How to Submit Ideas for SAP SuccessFactors Products.

See Also

2449356 - Is it possible to control the Required attribute in Override - Recruiting Management

2840289 - Override Not Working for All Internal Candidates - Recruiting Management

2632344 - Field Attribute Override in SuccessFactors Recruiting

Job Application Element: Field Overrides

Keywords

overrides, public, required, duplicate, missing, invisible, double , KBA , LOD-SF-RCM-APP , Applicants and Job Applications , Problem

Product

SAP SuccessFactors Recruiting all versions