cancel
Showing results for 
Search instead for 
Did you mean: 

Base64 Decoding and Sending PDF File to SuccessFactor(via HCI) in the field called "Attachment"

rawinder2489
Explorer
0 Kudos

Dear Friends,


Requirement is sending Base64Encode from ERP to SF via HCI Middleware in a field (Source and target both XML).. Requirement is to DecodeBase64 in HCI and write the PDF as file in SuccessFactors as Attachment. We have DecodedBase64 file in HCI but while trying to POST the data to Custom Portlet in SF(Target SF Adapter), we are getting different kind of Issues. Not clear what to write in body in Content modifier after DecodeBase64 (xml code or any other code) because i am not using any mapping here.


i am posting few screen shots of the iflow, Please find the screen shot of HCI_Log and also find the complete iflow of Payslip. Kindly guide us on this Process. Few Blogs are available but those are not clear and sufficient for this requirement.

Can this be accomplished by any approach? Could anyone please help in this. Let me know if anyone require more info about this process.

hci-log.jpg

payslip-iflow.jpg

content-modifier-exchange-property.jpg

Regards,

Rawinder

Accepted Solutions (0)

Answers (1)

Answers (1)

sumanth171
Active Participant
0 Kudos

Hi Rawinder,

On looking into the hci-log.jpg, it seems the content isn't decoded yet. Could you confirm if you verified the decoded content? Also what is the significance of the Groovy script after the content modifier?