문제

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

도움이 되었습니까?

해결책

  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.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top