Pergunta

I was reading this article on MSDN about Remote Event Recievers

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/use-remote-event-receivers-in-sharepoint

and they mentioned that starting from 2017, we can use Web hooks to implement similar functionalities as in Remote Event Receviers. but from my reading seems web hooks can not support Synchronous events (such as adding, editting & deleting). so i have these Two questions:-

  1. is there a way i can force my web hooks to support Synchronous events? or this can not be achieved?

  2. if the answer for the first question is NO (Web-hooks do not support Synchronous events), then if inside my SharePoint online lists, i want to cancel the adding and editing events inside my code, then the only way i can do so is to use Remote Event Receivers? is this correct?

Thanks

Foi útil?

Solução

  1. This cannot be achieved in web hooks.
  2. Yes, using remote event receivers is the only way to do synchronous operations like adding and editing.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top