cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Re-naming file in Sharepoint (NO crate-delete)

Hello guys!

 

I would like to change file's name in Sharepoint/Onedrive. However, i do not want to do that with "Create file" and "Delete file". As i want to keep existing file, update it with new content and do not trigger a flow.

 

The reason is, i have one folder where i have all orders with different status (pending, approval, signed, etc.) - i am searching through them with simply with filters. This folder is binded to my approval Flow which triggers "When a file is created".  Files (orders) i am adding to the folder are in format .docx, .xlsx and .pdf. Flow also includes AdobeSign, so when flow goes through it creates a signed .pdf agreement file from .docx, .xlsx and .pdf.

 

So my goal is to update existing file in sharepoint (.docx, .xlsx., .pdf) with sharepoint step "Update file" with content from "Get a PDF of a signed agreement". But i want the final file to be .pdf. therefore i am asking about the renaming a file including extension.

 

I do not even know if this is possible. Can you help me guys?

 

 

Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

hi @Rejdy  you can do it by using one drive like this

see I aswer a similar question here

https://powerusers.microsoft.com/t5/Building-Flows/Rename-Ondrive-File-using-Flow/m-p/537242#M69732

 

and here is another answer, that says we unfortunally can't do that with a existing action but you can use API rest to try

https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-File-in-SharePoint-Online/td-p/176708



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

hi @Rejdy  you can do it by using one drive like this

see I aswer a similar question here

https://powerusers.microsoft.com/t5/Building-Flows/Rename-Ondrive-File-using-Flow/m-p/537242#M69732

 

and here is another answer, that says we unfortunally can't do that with a existing action but you can use API rest to try

https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-File-in-SharePoint-Online/td-p/176708



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (8,069)