Symptom
Error - Cannot read properties of undefined (reading 'bindingType') on opening a template in document generation mapping tool
Environment
SAP SuccessFactors Employee Central: Document Generation
Reproducing the Issue
- Go to Admin Tools > Manage Document Generation Template Mapping
- Search for affected template > select template > Error: Cannot read properties of undefined (reading 'bindingType')
Cause
One possibility for this error is placeholder having space at beginning or at end, or having a comma in between in the placeholder label.
Resolution
Remove the space at start/end and any commas in placeholder label from Manage Document Generation Template > affected template > save. The error will not happen on opening template mapping now.
Keywords
Document Generation Template mapping error, mapping error, template mapping, undefined, bindingType, Cannot read properties of undefined (reading 'bindingType') , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , Problem