cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jaiyeko
Frequent Visitor

How to populate a word document with images?

I am creating a powerapp application form that allows  users to take pictures. I want to however populate the images in the form of a word document to then send to the user.


How can i do so? So far, i can only populate a word document with text. Any help is appreciated.


Thanks

8 REPLIES 8
yashag2255
Dual Super User II
Dual Super User II

Hey @jaiyeko 

 

Once yo uhave the binary content of the image in Flow, you can use the below format to populate that image in a word template with a image content type field in the template.ee33.png

You can refer to this blog on passing image files from PowerApps to flow using the JSON function. https://www.appliedis.com/newly-released-json-function-for-powerapps/

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Thanks

Hi there

 

Thank you for your very helpful comment.

 

I want to allow users to take multiple photos and then populate as many photos they take into a word document. Is this possible? Can i use your method for this?

 

@yashag2255 

yashag2255
Dual Super User II
Dual Super User II

Hey @jaiyeko 

 

You would have to create those many number of fields in the Word Template first. And then pass all the images from Powerapps and loop through them to create individual files (and contentbytes as we have in the variable) now put all of them individually in the word template action. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi @yashag2255 ,

 

Is there a way to acheive this using the array function and repeating section control?

yashag2255
Dual Super User II
Dual Super User II

Hey @sh020ho 

 

Support for repeating control has been recently added and you can check that here: https://docs.microsoft.com/en-us/connectors/wordonlinebusiness/#createfileitem

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

@yashag2255 I was wondering if you could help me achieve this. I currently have setup a repeating section document but have not been able to pass images.

I have an unique Audit id for each file that is in SP doc libary and and images need to be pulled for that particular id , loaded into word doc and then saved/sent as a pdf report. 

tcole
Frequent Visitor

Can Someone please help me understand how to get Images from Sharepoint List through Power Automate and populate them in Word Documents. My List has a Thumbnail column and images are stored there. Thanks in advance.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,566)