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 doc created in Sh...
Power Automate
Unanswered

Word doc created in Sharepoint site is not showing contents.

(1) ShareShare
ReportReport
Posted on by 85

Hi, 

I have created a power automate flow. Below is the flow

kmanakonda_0-1697820077229.png

When a form is submitted, it gets the response details. And I have a sharepoint site where I have a word doc template which I want to populate it from the form. So like shown in the flow I get that word doc file content and create a new file with filename having .docx extension and after that I update the file properties(Mapping the fields in the word doc with respect to the form). My flow ran successfully and created a word doc successfully in a sharepoint site folder. My problem here is when I am trying to view that newly created word doc(.docx) file from the flow displaying the data(It just shows the template). But when I download that .docx file to my computer I can view the complete data. Why is this happening? Is there a way where I can see the .docx file content when viewed on the web itself?

Please let me know if you need more information regarding this.

 

Thanks  

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Hello @kmanakonda 

     

    I don’t see an action that populates a word template in your screenshot.

  • kmanakonda Profile Picture
    85 on at

    Hi  @Matthy79 

     

    "Update file Properties" action will populate word doc. The below image shows the expansion of update file prop action  where each field goes into specific part of word doc.

    kmanakonda_0-1698081910768.png

     

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Update file properties doesn't update the content of the word document. It only updates the properties of the file on Sharepoint. I don't get how "Update file properties" changes the content in your word document, but you say it did and you only see it after downloading it on your computer. This doesn't make sense to me.

     

    Also have a look at Solved: "populate a word document template" versus "update... - Power Platform Community (microsoft.com)

  • kmanakonda Profile Picture
    85 on at

    @Matthy79 

    I wish I could show you in real time to make you understand better. May be the words I used to describe the issue are misleading to you.

    Here is the youtube video that I followed:

     

    https://youtu.be/xP7KdvUwfyw?si=dILRoiEZQkMkTq2J

     

    Please let me know if it makes sense now.

     

    Thanks

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Have you tried to get the file content and save it again after updating the properties?

  • kmanakonda Profile Picture
    85 on at

    Hi @Matthy79 

    I don't think it works. Coz if we use get file content we have to specify the file related that already exists in that path. But in the my flow every time it runs I am creating a new file.

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Yes, I know, but please try it.

     

    Load

    Create

    Update

    Load

    Create

     

  • kmanakonda Profile Picture
    85 on at

    @Matthy79 

    Tried the above mentioned flow, but it didn't work either.

     

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    I've tested it on my side and it worked. Doesn't matter if I use "Get File Content" after updating the properties and it doesn't matter if I use the preview mode or download it.

  • kmanakonda Profile Picture
    85 on at

    @Matthy79 

    if you have used Get File Content after Updating, what is the file that you have selected in Get File Content, coz while creating the flow the a new word file hasn't created. Could you please explain that part.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard