Question

Using Attachments in Connect REST - other than Base64 Encoded string

https://community.pega.com/sites/default/files/help_v83/procomhelpmain.htm#rule-/rule-connect-/AttachmentsSOAPdotNetHttp.htm

According to help pages, in order to send an outbound message with attachments via Connect-REST, the binary data has to be encoded as a Base64 string.

Now in version 7.4 and above, with Repository API, the D_pxNewFile datapage will by default use Inputstream as opposed to Base64 encoded string. However, if the Custom Repository in turn calls a Connect REST rule that uses attachments, does it mean the Inputstream has to be encoded to Base64 still? Is there any other properties on the pyRequestAttachmentPage that support Inputstream instead?

Comments

Keep up to date on this post and subscribe to comments