Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors and human capital management from member blog posts. Share your HCM insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
FrancoTornaghi1
Participant

In this scenario the client has a MDF object where allocates attachments. After some years the Client requires to download all this attachments. Additionally requires downloading with a specific label for the file. For example, if the MDF object allocates medical certificates, the client wants a file labeled  with the username + medical certificate + year uploaded.

 

Procedure

First: It's very important to first check the API Visibility for the MDF object, that must be set on "Editable". 

FrancoTornaghi1_0-1711363138629.png

To proceed to download the desired documents, access “Integration Center” –>“My integrations”. Create a new integration by choosing the “More integration types” option.

FrancoTornaghi1_1-1711363523704.png

On the pop-up screen, the settings should show as follows:

FrancoTornaghi1_4-1711363797926.png

A new screen will present with all the API visible objects. At this point look for the MDF object that contains the attachments.

FrancoTornaghi1_3-1711363710160.png

On the next screens upper menu will be fill in the necessary fields to complete the integration. First of all, fill the "Options" where is possible to give a name and add a description. Once all this info is filled click on "Next".

FrancoTornaghi1_5-1711363942111.png

In the next section "Configure Fields" we must configure:

  • "Associate content" that refers to the field where the file is hosted
  • "Associate Content type" that refers to the field where the file extension is hosted (pdf, jpg..)

FrancoTornaghi1_6-1711364077527.png

By clicking on "Associate Content" marked with 1 in the picture above the "Entity Tree View" pop-up window will appear. Select  the field "cust_AttachmentNav" and then "fileContent". Then click on "change Association to "fileContent".

FrancoTornaghi1_7-1711364244828.png

 

It's time to select the "Associate Content Type" field marked with the number 2 in red in the "Configure Fields" screen.

In "Entity Tree View" select "cust_AttachmentNav" and then "mimeType". Then click on "change Association to "mimeType".

FrancoTornaghi1_8-1711364400929.png

If everything has been set properly you may see a preview of the file if the file is PDF, DOC, or any common file type. 

FrancoTornaghi1_9-1711364562347.png

Once checked that the document is presented correctly, it's time to log in to the SFTP where our document download is going to be hosted.

FrancoTornaghi1_10-1711364689434.pngCreate a folder where our files will be downloaded. 

*It is VERY IMPORTANT that the name of the folder does NOT have spaces, if separated words is desired I suggest you to use "_".

Destination Settings

Go back to the integration center and let's configure the "Destination Settings" section. Select "Single Destination" and set it up as follows:

  • -SFTP Server Host Adsress whitout the  “https://”.
  • -Authentication Type: for the Successfactors SFTP select "Basic Authentication".
  • -SFTP User Name: SFTP user.
  • -SFTP Password : the password for the SFTP.

FrancoTornaghi1_11-1711365113013.png

Calculated file Name

This is a critical step and mandatory to make this integration work. 

Click on the calculator icon and then define a name through the concatenate function. 

It's very important that once you have created the file label to concatenate a dot "." and the file extension that can be found through the following entity navigation.

FrancoTornaghi1_12-1711365443201.png

Finally, save and is time to run. 

Final results

If the integration result is satisfactory, you will be able to access the SFTP and into "My files"  to find the created folder.

FrancoTornaghi1_0-1711367637656.png

Hope this blog helps!

 

 

 

 

 

 

 

 

Labels in this area