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
You may need to initiate process and use smart service 'Base64 to document converter'
https://community.appian.com/b/appmarket/posts/base64-to-document-convertor
Hi TJ,
Tried it. This looks to be pulling the document from SalesForce as Base64 and converting to a document in Appian.
Ideally I would pass it Doc Name with extension, Base64 string, Target folder and it would create the file.
The 18.3 release notes -- https://docs.appian.com/suite/help/18.3/Appian_Release_Notes.html#send-documents-using-base64-inline-with-json-&-xml
Thanks Paul, Looked at this but it doesn't help. It refers to how Appian can take a document that it has and convert it to base64. Unfortunately I need to do the exact opposite.
this plugin allows conversion both ways. It requires you to use the database to store the base 64 strings.
https://community.appian.com/b/appmarket/posts/base64-document-database-integration
Hi, tks for information!!!
Please an example to configure this parameters!!!...
Hi DaveMC,
I came through this smart service - Advance call web service plugin, where this would support Base64 attachments and avoids the need to manually encode/decode within a process.
community.appian.com/.../advanced-call-web-service
There's a new smartservice plugin that does this https://community.appian.com/b/appmarket/posts/convert-base64-to-document
Actually you shouldn't even need the plugin - the integration object allows you to receive Base64 documents and store them in Appian's file system: https://docs.appian.com/suite/help/19.3/Integration_Object.html#receiving-base64-inline-with-json
What if you have a Base64 document string already, and just need to convert it to a file? I assume the integration object wouldn't handle that use case, while the above plug-in would, right?