Dear friends,
First of all, many thanks for all of the PowerApps/Flow tutorials and debugs you guys do everyday! Those help A LOT!
I have a specific situation here that stops me from continuing my project and I've been stuck for the last several days.
Basically, I want to export a collection (that contains strings, booleans and images(out of a pen input)) from Apps to Flow and then put that collection into a parsed html code and then convert that to a pdf file. I followed videos for that specific case, but as the logic and the elements requiered in my project are more complex that just the table, I need to do the operations in Flow, rather than generating the final html in a PowerApps hidden screen.
I tried two things:
First, I used the JSON function and everything worked perfectly well except for the part where my images are sent as a type:image/png but are converted in the Flow JSON Parse function into a type:text/plain . This means that I lose completely my images and don't know how to deal with this. I specified the JSONformat.IncludeBinaryData and I respected everything said in the PowerApps JSON tutorials on the web.... Any suggestions?
Here is the proof my Collection's JSON is send with binaries, where SIGNATURE is indeed an image type (sorry it's in French :X 😞
Here's the part where I convert that to URI:
And here's the proof the type is changed to text into the html file created with Flow:
Now, it is important to know that I input the Collection data into an initialised string variable. And then, when I create the JSON parsing model by pasting the JSON(Collection, JSONFormat.IncludeBinaryData) output, the class SIGNATURE is recognised as a string type, not image. When I change that to image, an error occurs saying that's not the correct type..
EDIT:
Well it seems that by opening the .html file with VS Code, the types are said to be text/plain. However, when opened in Mozilla-> left click on image -> show image , we can see that the element is indeed a data:text/plain type but stores the original data:image/png information. Gosh I feel so close to the solution...
Thank you very much!

Report
All responses (
Answers (