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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events