Skip to Content
avatar image
Former Member

ECC proxy to HCI: decode Base 64 encoded images in HCI

Hi Experts

I have a requirement where i will be getting below fields from the ECC proxy

Header 1..1
refnumber
Invoices 1..Unbounded
duedate
productcode
productimagefilename
Images 1..Unbounded productimage

I have to create a txt or csv file from invoices fields and productimage(1...Unbounded) are Base64 encoded images that i need to decode in binary and then save both file and images in an SFTP folder.

What should be the approach for this...mapping level UDF for Base 64 decoding or base 64 decoder i can use from HCI pallate

Regards

naina

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 19, 2017 at 09:05 AM

    Hello Naina,

    Below should work.

    Have parallel multicast branch and in the first create invoice field data ( CSV or txt) with all the necessary transformation.

    In the second branch have a mapping to extract only productimage field and create one record per productimage and then use a splitter followed by decoder before sending one by one image to SFTP server.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded