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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Empty Page in Word Tem...
Power Automate
Unanswered

Empty Page in Word Template

(0) ShareShare
ReportReport
Posted on by 108

Hi all,

 

I am using a Populate a Word Template action to populate my data into it.

 

I have table in word document which gets populated with items from the share point list. Like example below:

 

Item NameItem No
  
  
  

 

Sometimes 2 rows filled out or some times 3 filled with data. Problem is, when there is one blank row, it should auto hide/delete so it only show filled data in the table.

 

 

Note: This is an example table with 3 rows, I have table with 20 rows that takes 2 pages. So, when there is only half data gets populated in the table, the whole pages wasted and it saves the file with blank page.  

 

 

Is there any way  I can avoid this when saving file. Please help me out on this

 

Thanks

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Jackson_Dhorty 

     

    Are you using a repeating control - as seen here? https://youtu.be/lBXSsEIlWok

     

    I need to understand if your data source has an empty row - if so, use a filter array where the value is not equal to nothing or if your Word Doc has a table of 3 rows - in which case use repeating controls.

     

    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

  • Jackson_Dhorty Profile Picture
    108 on at

    To answer your question, I am using a share point list ad my data source. below are the steps i am following:

     

    1- Recurrence trigger

    2- Get item action from share point.

    3- Using "Populate a Microsoft Word template" action I am trying to map values from the last action

    4- create file in share point.

     

    Now, issue is, I have created a table (Total 20 rows) in word template consist of 2 pages. For example; if record comes with 10 rows then the rest of the table stays empty and so the page.

     

    I want to remove that empty page/table if there is any in template. Please suggest me how can I do that?

     

    Thanks

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Jackson_Dhorty 

     

    You want to use a repeating control per the video. It will handle the dynamic number of values supplied. Supply 10, get 10 rows.

     

    Damien

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard