cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ryan2k
Level 8

Copy and Rename a SharePoint Folder

Using this post as a guide, I was able to get a SharePoint folder copied, but I'm having trouble getting the rename to work. I'm just working with a Folder, not a Document Set, so the syntax is a bit different. As it's configured below, the folder gets copied, but has the name "_Template1" - not the "Account Name" - appreciate any help. Thanks!

 

Screen Shot 2018-10-15 at 3.05.49 PM.png

 

I know I have "Name" here instead of "name" as specified here: https://msdn.microsoft.com/en-us/library/office/jj247085.aspx but if I used the lowercase "name" it gave the below error

Screen Shot 2018-10-15 at 2.54.13 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

Figured out I could just Create a File and add a custom Folder path that way, then go back and delete the file. 


View solution in original post

2 REPLIES 2
ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

I've tried this without single quotes around 'name' and the results are the same: 

 

"status"400,
  "message""The property 'name' does not exist on type 'SP.Folder'. Make sure to only use property names that are defined by the type.\r\nclientRequestId: 5b0d9565-cc96-49af-891d-cde71c3bc216\r\nserviceRequestId: cd01999e-80c9-7000-f816-9c9d436fc220",

ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

Figured out I could just Create a File and add a custom Folder path that way, then go back and delete the file. 


View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 400 members 2,955 guests
Please welcome our newest community members: