Chapter 12

Remote Event Receivers in SharePoint 2013

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Getting to know remote event receivers (RERs)
  • Understanding how to configure remote event receivers for various authentication methods
  • Introducing app-level remote event receivers

WROX.COM DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at http://www.wrox.com/WileyCDA/WroxTitle/productCd-1118495845.html on the Download Code tab. The code for this chapter is divided into the following major examples:

  • C12DocLibRERO365.zip
  • C12RERO365.zip

Because SharePoint continues to play a deeper and more integral role in corporate business systems and processes, getting beyond farm-level custom solutions and sandbox limitations by being able to call Web services as a result of internal events firing became imperative for SharePoint — and the new app model now supports it! SharePoint has had event receivers for some time, but with previous versions of SharePoint your custom code ran either in full trust as a farm solution or in the sandbox with the constraints it imposed. With SharePoint 2013, rather than calling into code running on SharePoint, remote event receivers can now be built as web services and the URL endpoint can be registered with SharePoint. When an event fires on one or more of the numerous events associated with SharePoint components, the Web service is called, SharePoint passes in the item properties for the event, and the Web service carries out its business. ...

Get Beginning SharePoint 2013 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.