News

SharePoint Webhooks Now Available in SharePoint Online

Developers can get notified of events happening with SharePoint Lists, such as when items get added, updated, deleted or moved, now that the capability is now enabled in SharePoint Online.

SharePoint webhooks, a developer-enabled capability that allows for apps to communicate real-time information, can now be used with SharePoint Online, according to Mike Ammerlaan of the Office ecosystem marketing team, in a Microsoft Tech Community post.

Webhooks are custom callbacks that use the HTTP protocol. Developers can use webhooks to get notified of events happening with SharePoint Lists, such as when items get added, updated, deleted or moved. Developers can write code to execute based on those callback events.

"As changes happen in SharePoint, calls are made to the developers' service, and they can then react to those changes with code," as explained in a Office Dev Center post. "Webhooks also work well with services built using recently-released Azure technologies, such as Azure Functions. All told, with the webhooks/Azure Functions combination, it's never been simpler to set up a lightweight service that reacts to changes in SharePoint."

Microsoft also supports this sort of callback approach for SharePoint via Windows Communication Foundation services using SharePoint Add-ins. Microsoft refers to this approach used with SharePoint add-ins as "remote event receivers." However, the use of webhooks is considered to be an easier callback approach for developers because of its Web API use, according to Microsoft's "Overview of SharePoint Webhooks" document.

Microsoft had indicated back in September that it won't be getting rid of remote event receivers for SharePoint Add-ins because they're still a viable solution for developers handling "synchronous events."

"We will continue to support remote event receivers in addition to webhooks, so that developers can choose the technologies most relevant to them," Microsoft indicated in a September Office Dev Center post. "While webhooks are fairly simple to use and feature robust retry logic, there are some use cases for event receivers: specifically, remote event receivers support synchronous events that occur as users update items."

Microsoft is expected to roll out improvements to SharePoint Add-ins, too, sometime in the first half of this year. At least that's how it appeared on a "SharePoint Product Roadmap" slide shared by Mark Kashman, a senior product manager on Microsoft's SharePoint team, in an October presentation.

Microsoft did not announce webhooks support for use with its SharePoint Server 2016 product, which gets housed in an organization's datacenters. However, such support is under consideration.

"We are looking into providing Webhooks with on-premises [SharePoint Server 2016] as well, but no exact schedule at this point," stated Vesa Juvonen, a senior program manager on Microsoft's SharePoint team. He made that comment in Microsoft's September Office Dev Center post.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube