SAP Knowledge Base Article - Public

3279843 - Field configured as Attachment type in the Job Application Template is shown as String in the OData API Dictionary

Symptom

There is a field in the Job Application Template which is type="multiattachment" (or type="multiattachmentselection") but it is shown as String in the OData API Dictionary.

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Go to the OData API Dictionary
  2. Search for the JobApplication entity or the JobApplication template entity
  3. Search for the field that is configured as type="multiattachment" (or type="multiattachmentselection") in the Job Application template XML
  4. The type for that property name is shown as String instead of Attachment 

Cause

This is caused by a misconfiguration as the same field is configured as being of different types across the Job Application templates in the instance: i.e. the field with the same field id is configured as type="multiattachment" in one Job Application template but as type="multiattachmentselection" in another Job Application template. 

Resolution

Ensure that the field type is the same across all templates. 

As changing field type causes data issues, you should create new fields with the same field type across templates. 

Please see KBA 2734323 - What happens when you change field types - Recruiting Management.

See Also

KBA 2734323 - What happens when you change field types - Recruiting Management

Keywords

Data, API, OData, Type, Dictionary, Field, Attachment, String, Mismatch , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions