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 / Word Template Populate...
Power Automate
Answered

Word Template Populate Layout Issue

(0) ShareShare
ReportReport
Posted on by 4,838 Moderator

Hi All,

 

I am facing a weird issue and it seems like I don't know exact syntax to achieve the desired result. 

So here's what I want to achieve,

  1. I have Bullet point from Word Template where I need to show dynamic data. These data are multiple rows (related records) where I need to display only the name of the record.
  2. I want to have below format.
    • Record 1
    • Record 2
    • Record 3
  3. Instead I am getting 2 incorrect outputs as 
    • [Table Name Object]
    • [Table Name Object]

      or 
    • [Record 1, Record 2] or ["Record 1", "Record 2"]

I have no clue how to fix it.

Below are incorrect output images

Ethan_R_0-1678964089016.png

 

Ethan_R_1-1678964098129.png


Flow output -> Populate a Word Doc Image

Ethan_R_2-1678964121942.png

 

 

Kindly advise if anyone know what's wrong here

 

Thanks

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    You'll need to switch to array mode for the repeating control and insert your array. The key with your data is that you need an array of objects where the property name matches the name of your control within the repeating control.

     

    //If the name of my control in Word was Item...
    
    [
     {
     "Item": "SC - 1"
     },
     {
     "Item": "SC - 2"
     } 
    ]

     

    grantjenkins_1-1678969889372.png

     

    grantjenkins_0-1678970072222.png

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @grantjenkins ,

     

    Thanks for the response, I did the same and I got below output

    Ethan_R_0-1679034986820.png



    Did I miss anything again?
    The Flow looks like this

    Ethan_R_1-1679035115060.png



    Kindly help

  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    What's the exact name of your inner control within the repeating group? If it's "item" then it should have worked.

     

    In my example below, I named my inner control "Item", so my property names need to also be "Item".

    grantjenkins_0-1679036611586.png

    grantjenkins_1-1679036652632.png

     

    If your Inner control was named "Ethan" then your property names would be:

    [
     {
     "Ethan": "SC-1"
     },
     {
     "Ethan": "SC-2"
     }
    ]
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Yes @grantjenkins ,

     

    This was exactly what I was looking. 

    The control name was something else, now it worked. 

    Ethan_R_0-1679038460427.png

     

     

    Thanks a lot 

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard