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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Populate a MS Word tem...
Power Automate
Unanswered

Populate a MS Word template with an image from SP list

(1) ShareShare
ReportReport
Posted on by 16

Hi

I have saved an image (signature from Power Apps) to a sharepoint list and I want to populate a word template with this signature.

I have a flow that works perfect for all the other list content but not the image.

Have saved the signature in SP both as PNG and BinaryData but I don't find out how to add it to word.

I've read lots of posts about this but I can't find a clear flow description.
Can someone help a newbie?!?!

 

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @Sahlberg  you can follow this video Embed a CDS Image in a Word Template using Power Automate flow - YouTube

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Sahlberg ,

     

    Could you please tell me where the picture is saved in SharePoint?
    Can you show the flow you have now?
    The Populate a Microsoft Word template action expects the base64 data of the image.
    The required data format is as follows:

    vdezhilimsft_0-1679293155292.png

    or

    vdezhilimsft_1-1679293174669.png

    My test:

    vdezhilimsft_2-1679293216797.png

    vdezhilimsft_3-1679293266356.png

    vdezhilimsft_4-1679293286051.png

     

    Best Regards,

    Dezhi

     

     

     

     

  • Sahlberg Profile Picture
    16 on at

    Thanks, but that do not work when I have the saved image in a sharepoint list.

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Sahlberg ,

     

    Is your picture saved in the image column or the attachment column?

     

    Best Regards,

    Dezhi

  • Sahlberg Profile Picture
    16 on at

    I have the image in a image column as a png.

    I tryed also to save it in a "Multiple lines of text" column as base64

  • Sahlberg Profile Picture
    16 on at

    Thanks Dezhi

    Looks gereat!

    I built a flow as your exaple but got error alredy in "Get file content" about file content.

    In what format must the image be stored in sharepoint?

    About the two Compose: shall I have both or just one?

     

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Sahlberg ,

     

    I did another test for your reference.

    vdezhilimsft_2-1679305918269.png

     

    vdezhilimsft_1-1679305890875.png

     

    vdezhilimsft_0-1679305872259.png

    vdezhilimsft_3-1679305996538.png

    body('Send_an_HTTP_request_to_SharePoint')?['d']?['results']
    concat(json(item()?['Img'])?['serverUrl'],json(item()?['Img'])?['serverRelativeUrl'])

    vdezhilimsft_4-1679306068626.png

     

    Best Regards,

    Dezhi

     

  • Sahlberg Profile Picture
    16 on at

    Hi Dezhi

    I put your flow into mine but got problems with "Send an HTTP..." Uri.

    Tryed tu use: _api/Web/List/getByTitle('Entreprenader')/items?$filter=ID eq id&$select=Grundsignatur

    id from a earlier step in my flow.

    Error Details:

    Cannot find resource for the request List.
    clientRequestId: 3b95b27f-c70e-4f10-b217-034e6a3e12a0
    serviceRequestId: 4d1ea1a0-f0e2-6000-483b-3ed7e7bf44de

    Can you help me to solve this?
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Sahlberg ,

     

    You're just missing an "S".

    _api/Web/Lists/getByTitle('Entreprenader')/items?$filter=ID eq id&$select=Grundsignatur

     

    Best Regards,

    Dezhi

  • Sahlberg Profile Picture
    16 on at

    Thanks Dezhi

    I must be blind!?

     

    But when  I fixed that i got a strange error: 

    "The field or property 'Grundsignatur' does not exist.
    clientRequestId: fd61b3db-76de-4181-b838-6bf2d2f1d8f3
    serviceRequestId: 5652a1a0-9061-6000-483b-3909dbf72a4c"

    The column does exist, I did even copy the name from SP to be shure.

    And it is a Image column looking like this in settings:

    GrundsignaturThumbnail

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard