Symptom
Override function is configured in job application template, however the override does not work correctly.
Environment
SAP SuccessFactors Recruiting Managment
Reproducing the Issue
- A field in the Job Application template is defined as below:
<field-definition id="samplefield" type="text" required="false" custom="true" public="false" readOnly="true" anonymize="false" forward-intact="false"> - In the same template the override function is also configured for this field, like below:
<field-attr-override>
<override>
<description><![CDATA[Field not for External applicants.]]></description>
<country><![CDATA[US]]></country>
<field-attr attribute="public" value="false" applicant="external"/>
</override>
<field refid="notForExternal"/>
</field-attr-override> - When an external candidate tries to apply for the job, he is able to see this field and fill up the same.
Cause
The override element specifies under which conditions the attribute change should take effect, and what should be changed in the attribute as a result. Common mistakes include declaring overrides that restate the attribute configuration in the field definition or declaring two overrides that conflict with each other.
Resolution
If the field definition is as below:
<field-definition id="samplefield" type="text" required="false" custom="true" public="true" readOnly="true" anonymize="false" forward-intact="false">
The override should be declared as below:
<field-attr-override>
<override>
<description><![CDATA[Field not for External applicants.]]></description>
<country><![CDATA[US]]></country>
<field-attr attribute="public" value="false" applicant="external"/>
</override>
<field refid="notForExternal"/>
</field-attr-override>
See Also
Keywords
over, ride, despite, external, internal, true, false, public, attribute, overrides , KBA , LOD-SF-RCM-APP , Applicants and Job Applications , Problem