I need simple solution for document to binary conversion within appian. As request body I should be able to pass a document into a binary format while calling a REST API POST method.
I've followed below links and those are not helpful for me.
https://community.appian.com/discussions/f/general/20675/convert-any-document-to-binary
https://community.appian.com/discussions/f/integrations/14913/web-api---send-binary-string-of-document
https://community.appian.com/discussions/f/integrations/18923/convert-appian-document-to-base64/75414#75414
https://community.appian.com/discussions/f/general/19821/problems-with-a-binary-document
Discussion posts and replies are publicly visible
There isn't a way to do that except using a third-party service. You can convert documents in base64 easily but not binary.
What is the purpose?
Could you please tell me the third-party service name.
Note : I'm using cloud version 23.1
Purpose: We are creating a document within a appian and sending it to third party. Now, third party has REST API call and they are accepting the documents only in Binary format.
What is your document type/extension?
.csv
Note: We are not allowed to store the document data within Appian cloud database. We are suppose to create a document then pass it to API with binary data and then delete the document from appian cloud folder .
I tried but couldn't find any. Also, the total string length will become huge and it will only have 0 and 1. I would recommend talking to server-side people and changing the extension if possible.
Not possible AFAIK.
could you please tell me convert documents in base64 function or service