web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adding Lists Attachmen...
Power Automate
Unanswered

Adding Lists Attachment (image) to Word Template

(0) ShareShare
ReportReport
Posted on by 4

We have a report list which has one photo attachment per record.
We would like to populate a Word Template with this image (without saving it first to Sharepoint).

 

 Is het possible to directly add the attachment image in to the Word Template?

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Adding Lists Attachment (image) to Word Template

    Hi @SilverBullet 

     

    This works for me.  Note that I get into an apply to each because get attachments will return an array, so you could use first() or call the file ID using integer indexes [0].  This will work though and create one word doc if you only have one file attached to the List Item.

     

    DamoBird365_0-1644960229001.png

    DamoBird365_1-1644960284767.png

     

    Please consider accepting my answer as a solution if it helps to solve your problem.

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

  • IndigoLemur Profile Picture
    2 on at
    Re: Adding Lists Attachment (image) to Word Template

    Hi @DamoBird365 .

    How does it work with multiple attachments?

    Could you explain the 'use first() or call ID please'

    I am trying to populate a template from a list item that has 2 attachments, a photo jpg and a pen input jpg. I want to put each attachment in the correct location of the form.

     

    Thanks

  • hatface Profile Picture
    2 on at
    Re: Adding Lists Attachment (image) to Word Template

    What control did you use in the word template file to accept the image from sharepoint?  Trying to accomplish this, and your images pointed me in the right direction I think on the PA side, but need a little assistance on what will accept the incoming image as simple text controls do not and neither does the picture control.

     

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard