cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rejdy
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
ChristianAbata
Super User II
Super User II

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
ChristianAbata
Super User II
Super User II

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (66,917)