Base64 to IMG in Mendix Native

0
Hello everyone, I am trying to go from base64 to visual image, I am using the base64 to image widgets provided by market place, in responsive it works correctly, however not in native, what is the solution to this?
asked
1 answers
1

Hi Ivan,

 

Follow these steps:

 

  1. Within your Native App, create a Nanoflow which calls a Microflow
  2. In the Microflow, create a new 'FileDocument' object
  3. Add the 'Base64DecodeToFile' Java action from the Community Commons module to the Microflow
  4. For the input parameters, select the Base64 string as your 'Encoded' input, and the FileDocument object created in step 2 as the 'Target file' input
  5. Add a 'Synchronize to device' activity where you synchronize the FileDocument object to the device of the user

 

If you need any other help, feel free to let me know.

answered