Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.