SAP Knowledge Base Article - Public

3430486 - Upload attachment field from Custom MDF Object issues - Onboarding

Symptom

Issue 1: 

  • Cannot upload an attachment during Personal Data Collection under a custom field
  • Error Message: To associate the attachment XXX with ID NNNNNN, please provide the value for field subjectUser

Issue 2: 

  • Uploaded attachments from a custom MDF Object isn't available in the Onboarding Dashboard > Actions > Onboarding Documents

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

Issue 1:

  1. Login as candidate and try to complete PDC
  2. Select the field Custom Portlet with Upload Attachment field.
  3. Upload an attachment
  4. Click Submit button
  5. Error pop up: "To associate the attachment XXX with ID NNNNNN, please provide the value for field subjectUser."

Issue 2:

  1. The customer is using the custom template in PDC
  2. They create custom MDFs to collection data in PDC step
  3. The test candidate upload 2 attachments to custom MDF in PDC step 
  4. Click Submit button and the PDC completed successfully
  5. Go to "Onboarding dashboard" > "Action" > "Onboarding document" 
  6. The 2 attachments are not shown in "Onboarding document"

 

Cause

CAUSE 1: Configuration issue.

  • The Attachment Field Configuration object was not properly configured.

CAUSE 2: System is working as designed.

  • Documents uploaded from Custom MDF Objects cannot be viewed via Onboarding Documents in the onboarding dashboard.

Resolution

SOLUTION 1: 

  • To ensure that attachment fields for custom MDF objects configured on New Hire Template, the Attachment Field Configuration object needs to be created with the following details:
    • Object Type : Custom MDF object
    • Attachment Field : Attachment field from the object
    • Entity ID: externalCode (corresponds to User type field in the custom MDF object)

SOLUTION 2: 

  • The documents uploaded via custom objects associated to the hire template can be accessed via the Dashboard Details Action Menu -> New Hire Data Page ( the object needs to be used in the template for the page).
  • These attachments are not visible with the other generated documents under view documents. 
  • The Product Management Team has a plan on updating the guide to clear out such scenarios and may include in future enhancements. NOTE!! There is currently no committed date on the roadmap. You may have this posted via the Influence Portal for tracking purposes.

See Also

3243838 - Error "provide value for field subjecUser" for custom MDF in Onboarding

Keywords

INC7039173, Custom MDF Object, Upload attachment error in PDC, Personal Data Collection, New Hire Template, Custom Portlet, Attachment, Upload, Onboarding Documents, Onboarding, OBX, ONB, ONB2.0, To associate the attachment XXX with ID NNNNNN, please provide the value for field subjectUser , KBA , LOD-SF-OBX-DC , Personal Data Collection , Problem

Product

SAP SuccessFactors Onboarding 2311