Power Automate - How to Rename All Files inside SharePoint Document Library | Send HTTP Request
HTML-код
- Опубликовано: 23 авг 2022
- #renamefile #powerautomate #sendhttprequest
Above video is about how to rename all files inside a sharepoint document library using power autmate using rest api. Power Automate Send http request POST method can achieve this task for us. watch full video to learn in detail.
For the content-type you can set the following value, application/json;odata=nometadata
This simplifies the body and there is not need to add the metadata and type, just an object with the property you want to set.
Really good content. Cheers.
Great tip thanks
Great, Thanks it has worked.
I want to rename my barcode jpg images as barcode number then _1, 2 etc. how this can be done, kindly check n help
How did microsoft make renaming a file the most complicated thing in the universe.
I agree.
Hi, Thank you for this video. May I check how can I get the eTag from the Output of Send HTTP Request to Sharepoint action? Is there a way to parse the Output and get the eTag value after renaming the file ? Please help to share your thoughts. Thank you.
generally there is action get file metadata in power automate but if you are looking from the output of http request then not sure at present but i will check if there is anything.
@@LernenTech hi I explored the get file metadata using path action. It worked. Thank you.
Hi Thank you for the detailed procedure to rename.. how can we put the current date instead of static year 2022. when i move the file from one share point folder to other folder i want to rename the excel file with current date. Can you please help
Get current date put it in format you want and then add at the time of rename using variables
@@LernenTech Can you please elaborate.. i am new to power automate..
@@tejtejas2976 brother instead of static date create a variable and add current date time in that and then call that variable in place of static date simple
This flow failed with error massage "Invalid JSON. A token was not recognized in JSON content.
Please guide how to resolve this.
Please check following
1. Use get files properties not file
2. Write all send http text manually not copy paste
3. Please use header first in browser to test if its working fine
Hope it will help, if still not able to resolve contact us on Instagram
@@LernenTech
Thank you!
How to rename a file within subfolders of the library
I have video on that how to create subfolder you can these logic there
@@LernenTech Can you share the video link for the subfolder? I'm having an issue where my folder is under Documents, and getting an error saying my list does not exist within the URL.