Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SVF/RcdNj8AHCXg43LFwSD
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,968 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard