Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top