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 I
Advocate I


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



Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (54,201)