SAP Knowledge Base Article - Public

2519210 - How to Upload Profile Photos using Integration Center - OData API Photo Entity

Symptom

Upload Employees profile photos through Integration Center using ODATA API, Photo entity / SFOData.Photo from files stored on an SFTP repository.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • Successfactors
  • Integration Center

Reproducing the Issue

NA

Cause

NA

Resolution

Prerequisite / Requirements

- Host SFTP Service (Repository for the photos for upload)

- Successfactors Integration Center (User with API admin Access)

Procedure

1. Need to create a CSV file containing the field userId, phototype, photo, and photoName (Basic Photo entity fields).
This will be the sample CSV file on your Integration Center job.

   1.jpg

2. Update the SFTP source folder with the CSV file containing the list of employee for upsert.
Under ‘photo’ column ensure that the filename of the photos uploaded on the source folder is same with the file on the list (as well as the extension)

Note: Support files for photo and photoname fields are *JPEG, *PNG, *BMP

   2.JPG

3. Map the fields in the integration based from the uploaded CSV Sample. (take note of .csv file name from step 1)

   3.jpg
4. Maintain the source and post processing folder where the files scheduled to be consumed are stored in the SFTP.

    4.jpg

Result :Photo will be inserted into the corresponding phototype selected.

Result.JPG

  • Additional Info for photoTypes

     Phototype.jpg

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

See Also

LINK : SAP SuccessFactors HCM Suite OData API: Reference Guide

Keywords

Upload Photo, Upsert Photo Entiity, Odata API, SFOdata.Photo, photoType, Binary64 , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions