cancel
Showing results for 
Search instead for 
Did you mean: 

How to upsert successfactors users without hardcoding via CPI

mchpoon
Discoverer
0 Kudos

Hi everyone,

I would like to ask how to how to upsert employees without hardcoding via CPI since I read many blogs which are teaching to hardcode the employees' data in content modifier.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Victor,

It depends on source structure from where you are getting details to create an employee.For example you are getting data from System X in format JSON and you want to create an employee then you can use JSON to XML Converter --> Create Message Mapping or Groovy script to perform necessary transformation --> Add request reply to call necessary API .Whenever you see some blogs in which you see some content modifier with hardcoded values then you need to take a note whatever the data you are getting from source system you need to transform it to similar structure ( you can take it as reference )

If you have any specific question on this please shoot out will try to help you .

Regards,

Sriprasad Shivaram Bhat

mchpoon
Discoverer
0 Kudos

Hi expert,
my current situation is that many users will be updated every week or every month from third-party system and will also need to be updated to successfactors via CPI

Answers (3)

Answers (3)

Sriprasadsbhat
Active Contributor

Hello Victor,

Hope below might help you.

Step 1:

Use JSON to XML conversion in first place if you want to have XML for further transformation.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/5a7c0cd2a3e8497c89ffcda4178...

Step 2:

Use Message Mapping or Groovy Script or XSLT to perform transformation.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/e2230716e7594ff491b60ce2868...

Step 3:

Use Request Reply to upsert data into your particular API.

https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/dc39fdd4a44d4b9a9eabb56f494...

Regards,

Sriprasad Shivaram Bhat

0 Kudos

I have a problem in accessing upsert functionality of SuccessFactors from CPI. I am using Succesfactors odata v2 adapter in CPI but I am unable to find the Upsert Enitity .

I cannot find the upsert Entity in the SuccessFactors OData v2 in CPI. But I am able to access the same using Postman. Other odata functionalities are accessible from CPI using Oauth2 saml bearer token. Upsert functionality belongs to function-import operation of SuccessFactors adapter. Is it implemented in SuccessFactors adapter?

Cannot find the upsert entity in SF adapter

Postman Client

In the screenshot, I am able to access the same upsert odata in postman using oauth token. I am unable to find the same in CPI. Kindly provide the solution for this issue.

Thanks in advance.

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Victor,

In format your 3rd party system sends the data ( is it XML,CSV,JSON?) and what is adapter you are using ( Is it SOAP Service? File based SFTP or FTP ? is it rest ).

Regards,

Sriprasad Shivaram Bhat

mchpoon
Discoverer
0 Kudos

It should be in Json format and REST api will be used