Skip to main content
Community site session details

Community site session details

Session Id : ilnZtnS76P+qlJNEtG3cDe
Power Automate - Building Flows
Unanswered

compile generic word template document without properties, bookmarks etc...

Like (0) ShareShare
ReportReport
Posted on 9 Aug 2022 07:13:34 by 105

I have to fill in word templates with predefined information (ex: Product code / Material Number, Batch code / Batch Number, Product Description, Manufacturing date / Production date, Expiration date, etc ..).

These models are similar but not the same (it's not possible to insert bookmark properties, label etc.).

Is there an engine that allows for this? Like the one who extracts the data, it has to replace it.

 

I have a program that generates me a generic report about a product.
I have to put the information in the report in a specific word document for each country.
The various templates are similar, but I cannot modify them by inserting "bookmarks" or "properties" at the position into which the information is to be entered. I have to parse the document to find the location and then replace the value.

For example one word document is similar:

 

 Product code: XXXXX

 

Batch Number: XXXX

 

Expiry Date: MM-YYYY

Manufacturing Date: MM-YYYY

 

 

I have to replace XXXXX, XXXX, MM-YYYY, MM-YYYY with the correct values

  • paronchi Profile Picture
    105 on 09 Aug 2022 at 09:38:01
    Re: compile generic word template document without properties, bookmarks etc...

    Hi,

    it is not the solution I need, in the example it inserts metadata in the template word to be replaced later.
    I cannot insert metadata in the document, but I should find the position to insert the data by "reading" the document and identifying the position

  • fchopo Profile Picture
    7,972 Moderator on 09 Aug 2022 at 08:30:04
    Re: compile generic word template document without properties, bookmarks etc...

    Hi @paronchi 

    Maybe you can use office scripts to do that. You have an excellent video by @DamoBird365 here: Microsoft Forms to PDF – No Premium Actions - DamoBird365

    Hope that helps!

    Ferran

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading started
Loading complete