2583468 - Maximum length validation in Candidate profile.

SAP Knowledge Base Articles - public

2583468 - Maximum length validation in Candidate profile.


Customer wanted to validate the maximum length of the candidate profile fields .


you can use "max-length" atribute in order to restrict the candidate field length but this attibute will only work in the data field section . For other fields outside of the data field "max-length" wont work . It will through below error while saving candidate profile template from the provisioning. 

Error Message - Attribute "max-length" must be declared for element type "field-definition". 

Below field defination is correct -

<background-element id="insideWorkExperience" type-id="3" required="true">
  <label xml:lang="en_US"><![CDATA[Bad Wolf Work Experience]]></label>
  <data-field id="title" field-name="vfld1" required="true" max-length="250" anonymize="false">

Below field defination is in-correct- 

<field-definition id="firstName" type="text" required="true" max-length="150" custom="false" anonymize="true" sensitive="false">

As per the work around you can use instruction field in order to notify candidate about the field restrictions.


validation in candidate profile , KBA , LOD-SF-RCM-CAN , General Candidate Issues (not Offers, not Profiles) , Problem


SAP SuccessFactors Recruiting all versions