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 Apps / How to Dynamically Pop...
Power Apps
Unanswered

How to Dynamically Populate Rows in a Word Table Using Quick Parts from Power Apps?

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I'm currently working on populating a Word template using Quick Parts to avoid premium features in Power Automate. The data source I’m working with is from Power Apps.

The challenge I'm facing is with inserting multiple rows of data into a table in the Word template. Instead of creating new rows for each data item, all the data gets merged into a single cell or row, appearing like:

data1data2data3  
 
What I want instead is for each data item to appear in its own row, like this:
data1  
data2  
data3  
 

Is it possible to achieve this using Quick Parts? If so, what would be the best approach to dynamically generate rows for each data item? Any guidance would be greatly appreciated!

Thank you!

Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    Quick Parts can be used with content controls to populate data in Word.
     
    In your Word template: Create a table with one row as a placeholder (e.g., with {Placeholder} or a content control like <<Data>> in the row where the dynamic data will go) Ensure the row has properly formatted cells for your data.
     
    In Power Apps, format the data as a single string with line breaks between rows. Use Char(13) or Char(10) for new lines depending on the requirements of your template.  Concat(
        YourDataSource,
        DataColumn & Char(10)  // Concatenates data with a line break for each row
    )
     
    Replace the {Placeholder} in the Word template with your Quick Part or content control and map it to the string generated by Power Apps.
     
    Word will treat line breaks (Char(10)) within the cell content as separate lines. If you need each item in a separate row: - Use a plain-text content control in the Word table. Map the content control to the Power Apps-generated string. Word will render each Char(10) (line break) as a new row when the template is populated.
     
    Use the "Populate a Microsoft Word Template" action (standard connector, not premium). Map the field corresponding to your Quick Part or content control to the formatted string from Power Apps. Save or convert the template to a PDF/Word document.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard