Skip to main content
shubhrajits8045
Participating Frequently
Jul 11, 2023 12:31 PM UTC
Question

Conversion of Base64 value into image document

Hello everyone,

 I am getting a base64 value as a request. But I am unable to convert the base64 value into an image document. As a result record is not getting stored into the database table. Is there any way to convert the base64 string into document?

13 replies

stefanhelzle0001
Brainy
Jul 11, 2023 12:44 PM UTC

Where do you get that image from? An API? Did you configure the API to turn base64 data into files?

shubhrajits8045
Participating Frequently
Jul 12, 2023 5:50 AM UTC

Actually, I have exposed a service in appian to write data into record and consume the service from a different platform. That system is sending the image in base64 format, but after getting the base64 value I am not able to generate the document in appian.

stefanhelzle0001
Brainy
Jul 12, 2023 7:02 AM UTC

OK. What did you do so far? A good implementation example is here

https://docs.appian.com/suite/help/23.2/passing-a-web-api-document-into-a-process-model.html#

You can not, and don't have to, do any kind of "active" base64 conversion. Appian manages that for you.