Question

I have a requirement to develop a solution based on SPFx, namely, when a document is deleted from a document library or a document is published (got main version) in a document library in SharePoint online, do something? How can I get "notification" or "getChanges" or other opportunity to handle and solve the problem?

OTHER TIPS

You could not achieve this with SPFx, I would suggest you create a remote event receiver in SharePoint Add-ins to acheve this:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/create-a-remote-event-receiver-in-sharepoint-add-ins

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