Hello
Is there any way to set the Internal Name of a document library on creation in a Send an HTTP Request action?
i.e. The display name of the Library is 'Project Inbound Documents' but in the URL, instead of:
https://[site]/sites/123456/Project%20Inbound%20Documents/Forms/AllItems.aspx
You get:
https://[site]/sites/123456/A1/Forms/AllItems.aspx
NB: I did a GET request on a site where we have this Display Name/Internal Name difference, and can see the field containing the internal name is "EntityTypeName", but if I used it in a POST request it wouldn't do anything.
My current HTTP Request action:
Solved! Go to Solution.
Hi @Socrates,
I believe you can use the MoveTo method to move the rootfolder of the library to a new path/address. This is described in this blog but it is also used in the Set-PnPList PowerShell cmdlet:
https://www.sptrenches.com/2015/01/change-url-of-existing-sharepoint.html
https://github.com/pnp/powershell/blob/dev/src/Commands/Lists/SetList.cs#L102
I have tried this in a Power Automate cloud flow with three Send an HTTP request actions. This seems to work as well, but test this properly first 😁
Hi @Socrates,
I believe you can use the MoveTo method to move the rootfolder of the library to a new path/address. This is described in this blog but it is also used in the Set-PnPList PowerShell cmdlet:
https://www.sptrenches.com/2015/01/change-url-of-existing-sharepoint.html
https://github.com/pnp/powershell/blob/dev/src/Commands/Lists/SetList.cs#L102
I have tried this in a Power Automate cloud flow with three Send an HTTP request actions. This seems to work as well, but test this properly first 😁
Worked like a charm! Thanks very much 😀
User | Count |
---|---|
93 | |
39 | |
24 | |
21 | |
16 |
User | Count |
---|---|
129 | |
49 | |
48 | |
31 | |
25 |