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 / Create Word Documents ...
Power Apps
Unanswered

Create Word Documents with Database?

(0) ShareShare
ReportReport
Posted on by 71

Hey,

 

anyone knows if there is a way to use Microsoft data verse in Power Apps to assign values to a word doc (SharePoint using a template and power automate?

 

I got it working that i can create word files with "Populate a Word document" and "Create file in SharePoint" i just created a word template with dev tools, but now i wanna use a Database to fill out text fields, so i can change 1 value in a database for multiple word documents.

 

Is this possible? Or if not, is there any other good solution for this? Because changing for example 100 Word documents that have the same value is a lot of work

Categories:
I have the same question (0)
  • Verified answer
    vaubeee Profile Picture
    533 on at

    Hi @utkua ! So you've already created a Word template with Word including placeholder fields where you want to insert dynamic data, right?
    First step now is to create a dataverse table which holds the data you want to insert into the template.

    After that create a Power Automate flow:

    • Start the flow when a new record is added or updated in your Dataverse table.
    • In your flow, retrieve the relevant data from Dataverse based on the trigger (e.g., when a new record is created).
    • Use the “Populate a Microsoft Word template” action to populate the Word document with the retrieved data.
    • Specify the Word template you created earlier and map the placeholders to the corresponding Dataverse fields

    After populating the Word template, save the resulting document to a SharePoint document library or OneDrive for Business. You can use the “Create file” action in Power Automate to achieve this.

    Whenever a new record is added or updated in your Dataverse table, the flow will trigger and generate a new Word document.

    To handle multiple Word documents efficiently, consider using a loop in your flow to process each record.

    If you need to update existing Word documents, you can use the “Update file properties” action to overwrite the existing files.

     

    Happy building!

     

    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question / helped to solve your problem, please accept as solution and give me a Thumbs up. Thanks! - Remember: you can accept more than one post as a solution.

  • Verified answer
    vaubeee Profile Picture
    533 on at

    @utkua here's a great step by step by Reza Dorrani Reza Dorrani PA Word Template 

    Follow him on YT 😉

     

    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question / helped to solve your problem, please accept as solution and give me a Thumbs up. Thanks! - Remember: you can accept more than one post as a solution.

  • utkua Profile Picture
    71 on at

    Thank you for the answer! I will try that out

  • vaubeee Profile Picture
    533 on at

    You`ll make it 😉  Highly recommend the video - no more open questions after!

     

    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question / helped to solve your problem, please accept as solution and give me a Thumbs up. Thanks! - Remember: you can accept more than one post as a solution.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard