Decoding base 64 image and storing in a system.image

0
Hi All, I am using the signature widget  that stores the image as a base64 string, I want to decode the image and store into a System.image entity but i cant seem to get it to work. Can anyone provide me with a clue?    
asked
2 answers
3

Hi Steve

Use the Base64DecodeToFile that you can find in the community commons. (and a entity image that you created an have sufficient rights, not directly the system entity)

 

Also: don’t forget to give your file a approriate name + extension

E.g: this is to decode a pdf file so the doc entity has a generalisation of system.document file. You should use the system.image but ths flow should be the same. This download the file, you could commit it.

 

 

Also: https://forum.mendix.com/link/questions/92623

 

Succes!

answered
1

Hey Steve, 

Did you succeed?

answered