How to send pdf attachment as raw binary data from transaction using urldata to external system — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to send pdf attachment as raw binary data from transaction using urldata to external system

Summary:

We have a requirement of sending pdf attached to transaction to external system, how can we do this from BML

Content (please ensure you mask any confidential information):

Using getattachmentdata for getting the file content and passing it to external system using urldatabypost. This is causing error due to Base64 file content. When trying from postman with form-data or binary and selecting the file from local, it works without error.

Is there any way to achieve this from BML, to send the attachment as raw binary using urldatabypost?

Version (include the version you are using, if applicable):

25B


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!