Hello,
I am writing an app in order to upload images, merge them, convert to PDF, and get the outcome (merged PDF) of that Flow back to Power Apps.
Ofcourse before writing this post, I have researched several items on this forum, but I don't seem to get the solution to get the PDF content back to my App.
At this moment the following has already been accomplished:
App where one can upload/capture image,
Gather all images,
Send to Flow,
Write images to separate images,
Merge all images to HTML,
Convert HTML to PDF using OneDrive engine,
Write PDF file to OneDrive.
The next and final step would be to get the content(bytes?) from Flow to Power Apps, and set this as an attachment in the mail function of Power Apps.
In Power Apps, the Office365.Outlook.SendEmail notifies that the used variable is made in an incompatible type.
I am trying to create a variable with the outcome of the Flow, using:
Set(ReturnPDF, CreateJPG.Run(JSON(MyItems,JSONFormat.IncludeBinaryData)) );
and in the Flow using "Respond to a PowerApp or Flow", putting the filecontent of the PDF as a return content.
However, in the Power Apps interface, I see that the variable is of the Boolean type.
The Variable in Power Apps is indeed set to a Boolean:
Can anyone suggest what would be the way to go?
I do not want to choose to use the mail function from within Flow to send the PDF, as there must be inserted more details from the Power Apps app.
Thank you for your moment in advance!
Michael
User | Count |
---|---|
255 | |
107 | |
85 | |
51 | |
43 |