2

Is there a way in CSOM wherein I can rename document library using CSOM like we do in SPD(renaming the root folder)?

I tried several ways e.g updateTitle,FileLeafRef. Also tried to rename a folder etc but nothing seems to work.

I would like to know if is this possible at all?

0

Please reference https://sharepoint.stackexchange.com/a/137221/75930

It seems to do what you are asking in SharePoint 2013, you should use the Folder.MoveTo method to create a copy under a new name, and then delete the old.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.