cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Converting image to word using power apps and power automate

Hi there, I have a digital signature power app where a user fills out some fields and then signs. 
I have used a word doc template to populate the fields using the developer mode.
Everything works fine, except for the image (for the signature).
The error I'm getting in Power Automate is "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG. 
clientRequestId: fa3e687e-7662-4508-8731-2ec821115628".

How can this be avoided?
Thank you in advance! 

1 ACCEPTED SOLUTION

Accepted Solutions
Rahber
Solution Sage
Solution Sage

Unfortunately, the peninput1.image is not the format the word template accepts. 

 

You need to perform steps such as storing the image first on azure or SharePoint and then getting the file content and place in word template

 

You can see a solution here: https://powerusers.microsoft.com/t5/Building-Power-Apps/pen-input-in-a-word-document/td-p/677873 

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,
Rahber

View solution in original post

4 REPLIES 4
Rahber
Solution Sage
Solution Sage

how are you sending the image from powerapps to flow? Can you please show the parameter value in powerapps that you are passing? 

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,
Rahber

 

Anonymous
Not applicable

Hi there,

I followed this youtube video (Learn PowerApps - Autofill Templates in Sharepoint Tutorial - YouTube), and therefore I was trying to send the image by the "Ask in powerapp" function in Flow. 

(I have attached the flow and the app screenshot in the post incase you missed it)

This is the formula I used on the button, which is associated with the triggering the flow.capture.PNG

Rahber
Solution Sage
Solution Sage

Unfortunately, the peninput1.image is not the format the word template accepts. 

 

You need to perform steps such as storing the image first on azure or SharePoint and then getting the file content and place in word template

 

You can see a solution here: https://powerusers.microsoft.com/t5/Building-Power-Apps/pen-input-in-a-word-document/td-p/677873 

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,
Rahber

Anonymous
Not applicable

Thank you for your help!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Kudoed Authors
Users online (3,505)