Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

Archive for July, 2017

Webhooks in SharePoint 2016

Posted by Paul on July 28, 2017

SharePoint 2016 introduced Webhooks for List Event Handling.  Webhooks are much better than Remote Event Receivers.

Webhook

Webhooks are enabled on SharePoint list items

Webhooks allow developers to Subscribe list item changes

Webhooks support only Asynchronous events

Webhooks requires a Target URL

Subscription

You need an Office 365 Subscription to test Webhooks.

You need to create a List Event subscription on the required List

You need to setup a Server URL to host the Webhook URL

Subscription can be enabled with an Expiration Date

Code

The class need to be inherited from SPWebhookNotification class.

The class should implement properties for SubscriptonId, ClientState etc.

Http Post attribute should be used for the receiver method.

Advertisements

Posted in SharePoint, SharePoint 2016 | Tagged: , , | Leave a Comment »