Deleting folders to put into recycle bin #1547
Unanswered
ajcaterino
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@ajcaterino : recycling a folder is possible, but not implemented in PnP Core SDK. I'll create an issue from this discussion to track that ask. If you are in a rush you can use our custom API approach to implement this yourselves. See https://s-kainet.github.io/sp-rest-explorer/#/entity/SP.Folder for the SharePoint REST APIs for this. Creating a PR for this would even be better :-) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When deleting a folder using "folder.Delete()", is the folder and its files moved to recycle bin? From my testing it does not appear that it does. Is there a way, that I am missing, to make it do so? If not, is it possible to move a folder to the recycle bin using CreateCopyJobs?
Beta Was this translation helpful? Give feedback.
All reactions