Convert Appian Document to Base64

We have requirement to convert Appian document to Base64 string and pass it as a parameter in the JSON to a Integration call.

Could someone suggest a best way to do this with any plugins?

Appian version we use : 18.2

  Discussion posts and replies are publicly visible

Parents Reply
  • I don't see any mention of Base64 there(?).  The remote team is asking to retrieve base64 instead of binary, if possible.

    To clarify: I have an API set up where the remote team is passing in a document type and a primary key id.  Logic on our end attempts to retrieve a matching document from the Appian filesystem, and when a match is found, we send it back in the response.  Currently this is going over as binary data, but they're asking if we can convert it to a Base64 string first - and I'm not finding any way to do so (and if it already is, for example, I'm not seeing any way to verify or troubleshoot).

Children