Symptom
- Document Category is missing from documents uploaded via API on custom MDF object, when manually added it works.
- Document is not found on specific Document Category in Manage Documents when it was uploaded via API.
Environment
SAP SuccessFactors HCM Suite
Reproducing the Issue
- Upload attachment into Custom MDF via API
- Go to Manage Documents > Filter the category used
- Document is not listed
Resolution
When uploading an attachment through OData API, ensure the following fields are set on upsert:
- Document Category
- DocumentEntityID
- DocumentEntityType
After having this set on upload, the user can then proceed linking this attachment object to the MDF entity.
See Also
Keywords
MDF API, attach document, manage documents, upsert, ODATA, attachment API, custom MDF attachment API , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , LOD-SF-MDF-API , OData APIs & Integrations , LOD-SF-PLT-DOC , Document Management , Problem
Product
SAP SuccessFactors HXM Core 2311