Hello all,
I have a column in my Sharepoint list with image info encoded as Base64. I then want to create a flow that sends an email with the form data stored in a sharepoint list including the picture but I cannot find a way to convert the data into an image file.
So a user submits their name, email address, phone number, then captures a picture of themselves in a powerapp and that data is stored in a sharepoint list.
Is this possible?
Thanks in advance!
Solved! Go to Solution.
Hi @AmariBarino ,
This is a datauri . Please try the datauritobinary function instead of base64tobinary function.
Best Regards,
Wearsky
Hi @AmariBarino ,
If you have a base64 string column in sp list, you could use base64tobinary function to create a file content.
Best Regards,
Wearsky
Thank you for your response! I tried using this in my flow before and kept getting the following error: Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0'. The value cannot be decoded from base64 representation. I tried rebuilding the flow as I've seen suggested in other threads but I'm still getting the same error.
I attached images of my flow below. It fails on the compose step.
Hi @AmariBarino ,
This is a datauri . Please try the datauritobinary function instead of base64tobinary function.
Best Regards,
Wearsky
That worked! Thank you!