Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Word Online dynamicFileSchema - Is ther any way of deriving the field number from the field name?


I have a problem with using Power Automate to populate a dynamically selected Word document that I'm not sure how to solve.

I need to make a flow that:
1. fetches a dynamically selected Word file/template from a SharePoint Online library
2. populate fields in that document with a set of values
3. save populated document to an on-prem file server

All the files from the source library has a few fields in common that needs to be poplulated.
I have successfully tested using the Word Online-connector to populate the fields using dynamicFileSchema when I before knew what file it was and what numbers corresponded to the fields, but when the files are dynamically selected the same named field gets a different dynamicFileSchema-number for each file.

Is there any way of deriving the number from the field name?

There are a large number of files in the source library and files can be added, so manually maintaining a list or something with the mapping from field name to dynamicFileSchema-number for each file is not possible i think.

Or does anyone have another idea on how this can be achieved?

Kind regards
Advocate II
Advocate II


I've got the same issue and raised a feature idea to request it.
Please help to up vote this request.



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,968)