Have you considered doing a Flow that usines the 'Populate a Micrsoft Word template' instead of the HTML?
I'm not sure your situation but it is really easy to use and get the layout where you like it and I like it for displaying images directly in the document.
If not...you can show an image in your html. There is a video that Laura Rogers did that is using the pen input but she shows how to put a signature into HTML for an email. I prefer the other option in Flow but the way she does it works too. It is a different need than you have but the concept and how she does it will be the same. Let me know if you do that and can't find her video and I will see if I can relocate it.
I have done some research into the Azure Blog Storage and would like to try it soon but we don't have an account for that yet...we just use SharePoint and OneDrive for our storage so I will be no help on storage outside of those two options.
Hi @Jek ,
There is a hack through Flow to solve this issue.
Have a look at this blog by John Liu.
You can skip the first part of the blog where he dives into the code of diveren connectors to find the sollution. The 2nd part of the blog describeds the hack.
Basically the steps are:
Add the Flow to execute from within your app and make sure to provide the requested parameters (file name & file content). File name you need to generate yourself (for example GUID(). & ".jpg"). For the file content you can use the output of the Add Image control (appres://blobmanager/.... etc.).
Tried it out today. Works like a charm (allthough a little bit weird work around).
An easy and multi-purpose solution is found to add pen-input to Sharepoint/Email/PDF by utilizing the addition of a PowerApps Json functionality added on 02/05/2019.
The Short description on how to make this work is to save the pen input image in a JSON format asking the JSON function to include Binary Data:
Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );
See here for details: https://iiu.dk/2019/10/12/powerapps-pen-input/
Did you use a variable to set the URL? Mine is still patching the 'appres://blobmanager/9fc1b32c30f24163a3d82e4783d322ed/5' through to my azure sql table.
I have almost the same situation as your video. I have a peninput where the user signs. I want to take that signature and add it to the CDS entity attachments. In my PowerApp I have a peninput control and an image control. I created a flow similar to what you illustrated with the unused Outlook send mail. However, when I call the flow and pass Image1.Image to the attachmentscontent-1 parameters, it get passed in as appres://blobmanager/0e690be32d704c3c83af0316cd513032/20.
Then to test to be sure I have the proper file, I save to OneDrive. When I look at the file named test.jpeg instead of an image it creates a file with the text appres://blobmanager/0e690be32d704c3c83af0316cd513032/20. I would have expected it to the the base64 encoded image string.
Any ideas what might be missing?
Flow made some updates recently (imagine that) that changed all of this. My existing Flows still work but going forward I had to find a new way of doing BUT I like this new way better so no biggie. I am working on a video on how to do now (mostly for myself..lol) but I will post the link to it shortly to show how to do.
Check it out!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand