1

I am using a webhook to capture events in a document library. And based on the sample from pnp team https://github.com/SharePoint/sp-dev-samples/blob/master/Samples/WebHooks.List/SharePoint.WebHooks.Common/ChangeManager.cs i am able to get the change related to a deleted file, but the return object only provides the item ID and nothing else related to the deleted item. No File Path, File type, name, title or deleted by. How can I get these details?

1

As far as I know, there is no way to get more info on deleted items in web hooks. So, you should use ItemDeleting remote event receiver instead.

| improve this answer | |
  • Thanks Dmitry. Will switch to RERs. I hope MS can provide more info in these change objects in the future. – Productivity Suite Developer Sep 8 '19 at 3:30

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.