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 : LoJp1/TCIf83b208ruLUX1
Power Automate - Building Flows
Unanswered

Populate word document with word connector and multiple images

Like (1) ShareShare
ReportReport
Posted on 6 Mar 2024 16:53:36 by 2

Hi guys,

I am troubleshooting this a few days now and I cant get it to work. I already searched tons of other threads and articles on the net.

Constraints:

Only Word Online Business connector can be used.

Image amount may vary (up to 24).

My goal:

I want to fill a word-template with multiple images. To do so, I lookup sharepoint, get required images and put them in an array. I would like to use the array to fill the template with its index f.e. arrPics[0], arrPics[1] etc.

 

The error I get is a classic: "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG." However, the images proved are all jpgs, I already tried different ones and even a different word-template.

 

Thanks in advance.

Here's my flow:

Error1.PNG

Error2.PNG

Error3.PNGvariables('arrPics')[0] - doesnt work even if only one image in array

 

 

 

 

Categories:
I have the same question (0)
  • Andrew_J Profile Picture
    1,962 Moderator on 06 Mar 2024 at 22:01:13
    Re: Populate word document with word connector and multiple images

    @seemsLetschat 

     

    Firstly I have never undertaken what you are trying to achive.

     

    I am wondering if it is an issue of how the word template is pulling in the images from the Sharepoint list.  From my basic knowlege of only using text and number fields I have only pulled in data on a row by row basis.  I have not populated a template form a SharePoint document library so this maybe able to be undertaken.

     

    I know the above is no solution but there could be pleanty online on this.

     

    Regards,

     

    Andrew

     

    I  

  • MD-28081242-0 Profile Picture
    2 on 29 Aug 2024 at 12:02:04
    Populate word document with word connector and multiple images
    I get the exact same error regardless of where the file comes from, and I am trying to do the exact same thing as you albeit with less pictures.
     
    I did read somewhere on here that someone had been successful trying to pass the image as a Json object {} to no avail.  If I find something searching the net I'll come back here to let you know.
     
    You have yet to figure out a solution have you?
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard
Loading complete