문제

I want to create Event Receiver, but I need an event type that would work when opening the library\list page for example. Tell me which event to use? Or is Event Receiver not the best solution?

enter image description here

도움이 되었습니까?

해결책

As a short answer, There is no Event Receiver type that will trigger when opening a Library/ List Page!!!

The Event receiver should be used to trigger a specific action before or after a specific event like Item Added (After), Item Adding (Before), Item updated (After), Item updating (Before) ...etc

The alternative solution:

  • Creating a web part that will be hosted in the Library page and add your code (action) to trigger in the Page Load event.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top