Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Rename DOCX template to

(0) ShareShare
ReportReport
Posted on by 1,597 Super User 2024 Season 1

Hello,

 

I have a document library named "Support Plan Review" where I have a docx template file from the New menu.

 

When a new document is created, it is prefixed with the default title of "Document#.docx" where # is the number.

 

I have inserted quick parts into the document to all the properties of the document to be updated and to also fill the Resident Name and Support Case Ref columns in the document library view.

 

What Id ideally like to happen is that when a new item is created, is that once saved that the document name update to "Support Plan Review_SupportCaseRef.docx"

 

sudosaurus_0-1635808683153.png

 

The trouble is that when you click on the New button, the document is firstly (1) opened in Word Online and (2) immediately creates a file in the document library. What I have to do in order to use the quick parts is to open the file in Word desktop  to then update the properties of the file and fill out any static text within the document.

sudosaurus_1-1635808963651.png


Am I over-complicating things and is there an easier way of doing this? without duplicating files etc.

 

Thanks

 

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Rename DOCX template to

    Hi @sudosaurus ,

     

    Any time you would like to rename a file in SharePoint with the help of Flow, you will need to create a copy of the file then delete the previous one.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492