Hi Folks,
There are various discussions going back years on this topic... but no definitive answers or guidance. I have a requirement to take a base64 encoded string (received via API) and create a document. I have no need of a database. Just need to take the string, create a document, write it to the document store. Can anyone point me in the right direction for this?
Much appreciated.
Discussion posts and replies are publicly visible
Hi Arjun,
Just saw this. We've moved on from that project. Should we run into the need again I'll be sure to look you up. Many thanks for reaching out to me. Much appreciated.
Hi Arjun, can you suggest how to convert a base 64 string embedded in Json into a document. I have tried conver binary to appian document but that is converting the entire response body rather than just the binary element.
Hi Simon,
Are you dealing with a Base64 response or a binary response? If it is a base64 response, you can use the "Convert JSON to Appian Value" and check the checkbox, "Convert Base64 values to Appian Documents" option to convert base64 content directly to a document. For the first time, it will ask you to make a sample request and autodetect the Base64 tag where the document is located and does the rest of the config automatically. We need to mention the folder the document needs to be stored. Please refer to the screenshots below for your reference. Please let me know how you go with this one.
Is there a way to get the document Id of the file?