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

  • GitHub Previews Agentic AI in VS Code Copilot

    GitHub announced a raft of improvements to its Copilot AI in the Visual Studio Code editor, including a new "agent mode" in preview that lets developers use the AI technology to write code faster and more accurately.

  • Copilot Engineering in the Cloud with Azure and GitHub

    Who better to lead a full-day deep dive into this tech than two experts from GitHub, which introduced the original "AI pair programmer" and spawned the ubiquitous Copilot moniker?

  • Uno Platform Wants Microsoft to Improve .NET WebAssembly in Two Ways

    Uno Platform, a third-party dev tooling specialist that caters to .NET developers, published a report on the state of WebAssembly, addressing some shortcomings in the .NET implementation it would like to see Microsoft address.

  • Random Neighborhoods Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the random neighborhoods regression technique, where the goal is to predict a single numeric value. Compared to other ML regression techniques, advantages are that it can handle both large and small datasets, and the results are highly interpretable.

  • As Some Orgs Restrict DeepSeek AI Usage, Microsoft Offers Models and Dev Guidance

    While some organizations are restricting employee usage of the new open source DeepSeek AI from a Chinese company due to data collection concerns, Microsoft has taken a different approach.

Subscribe on YouTube

Upcoming Training Events