Power Automate: Rename SharePoint Files - a great intro to "Send HTTP Request"

Описание к видео Power Automate: Rename SharePoint Files - a great intro to "Send HTTP Request"

There is no rename file action in the SharePoint data connection, so how are your getting Power Automate to rename your files? If you are creating a new file from the existing one, you are failing on fundamental document management policy and compliance.

In this video I introduce HTTP requests using file renaming as an example. We will rename the current file so you do not lose version and audit history besides many other things. Works with OneDrive files too.

HEADER CODE
------------------------
content-type application/json;odata=verbose
X-HTTP-Method PATCH
If-Match *

BODY CODE
-------------------
{'__metadata':
{'type': 'SP.Data.Shared_x0020_DocumentsItem'},
'Title':'Sample',
'FileLeafRef':'Sample.docx'}

You can replace Title with another field name ore remove the entire row if it is not required.

Комментарии

Информация по комментариям в разработке