Hi, Is there a way to convert a document contents to base64binary form usin

Hi,
Is there a way to convert a document contents to base64binary form using an expression function or an expression function plugin on a SAIL form? We are trying to integrate with DocuSign using SOAP API, and need a way to pass the document contents in base64binary form. Would appreciate your insight.

OriginalPostID-196054

OriginalPostID-196054

  Discussion posts and replies are publicly visible

Parents
  • I would recommend against doing this. The approach you describe can result in performance issues and increased memory usage. We have seen many problems in the past when people have tried to implement this sort of thing. It would be better to find a way to send the document as an attachment. One possibility might be to do the base64 conversion (if it is absolutely necessary to have a base64 conversion involved a all) within the web service to pass it to docusign, and then have the web service convert it back into a pdf, docx, etc before sending it back to Appian. But converting documents to base64 within Appian, or passing documents that are already in base64 format into Appian is discouraged.
Reply
  • I would recommend against doing this. The approach you describe can result in performance issues and increased memory usage. We have seen many problems in the past when people have tried to implement this sort of thing. It would be better to find a way to send the document as an attachment. One possibility might be to do the base64 conversion (if it is absolutely necessary to have a base64 conversion involved a all) within the web service to pass it to docusign, and then have the web service convert it back into a pdf, docx, etc before sending it back to Appian. But converting documents to base64 within Appian, or passing documents that are already in base64 format into Appian is discouraged.
Children
No Data