Moving from SPServices to REST, Part 6: Converting UpdateListItems to REST

This entry is part 6 of 6 in the series Moving from SPServices to REST

While the majority of calls using SOAP with SPServices use GetListItems to get items from lists, changing data with UpdateListItems is probably a close second. In this case, we’re altering data based on some user action. In a way, it’s like repainting your car (which I’ve never done). The shape and structure of the car…

Moving from SPServices to Rest, Part 5: Using Promises with SOAP and REST

This entry is part 5 of 6 in the series Moving from SPServices to REST

Wouldn’t it be great if we could drive flying cars like the DeLorean in Back to the Future? Unfortunately, even though October 21, 2015 has passed us by, that’s not a reality yet. The science fiction writer Arthur C. Clarke famously said, “Any sufficiently advanced technology is indistinguishable from magic.” Sometimes JavaScript promises can feel…

Moving from SPServices to REST, Part 4: Converting GetListItems to REST

This entry is part 4 of 6 in the series Moving from SPServices to REST

Summary: Because of the significant inconsistencies in the SOAP Web Services, converting your calls to REST will be a different process for each of them. In this article, we’ll look at the real workhorse of SPServices: GetListItems. When my mechanic works on my car, sometimes he tells me about some different tires or parts I…

Moving from SPServices to REST, Part 3: JSON vs. XML

This entry is part 3 of 6 in the series Moving from SPServices to REST

Summary: When you move from SOAP to REST, you’ll want to understand the differences between XML and JSON as well. Modern Web developers are most likely to use JSON, and this is a great time to switch. Most auto mechanics understand that there are several different measurement systems – and therefore toolsets – that they…

Moving from SPServices to REST, Part 2: New Patterns for SPServices Development

This entry is part 2 of 6 in the series Moving from SPServices to REST

Summary: You can improve your SPServices-based code today to prepare for converting to REST calls later. In this article, Marc introduces some new patterns for your JavaScript code to make SOAP calls easier to maintain and easier to move to REST when you decide it’s time. Remember that older car I drive? Well, over the…

Moving from SPServices to REST, Part 1: Introduction

This entry is part 1 of 6 in the series Moving from SPServices to REST

In this series, you’ll learn how to transition from the SOAP Web Services – which SPServices supports – to REST. If your organization is making a transition to SharePoint 2013 or Office 365 & SharePoint Online (and anything hybrid in between), this series will help you develop new patterns, migrate your codebase, use OData effectively…

jQuery Library for SharePoint Web Services (SPServices) 2014.02 Released

Just in time for the holiday gift-giving season, I’m releasing SPServices 2014.02. This is the second release in 2014 (which you should be able to glean from the release name). If you’re using an earlier version of SPServices, I strongly recommend an upgrade. Read on. The most important change in this release is due to…

jQuery Library for SharePoint Web Services (SPServices) 2014.01 Released

Hot on the heels of the short-lived SPServices 2013.02 and it’s younger, wiser sibling 2013.02a, comes SPServices 2014.01. I wanted to do a new release with some cool new functionality, but Microsoft really forced my hand with some changes to title attributes on some column types. (See: Office 365 Update Changes ‘Display Name’ on Required…

jQuery Library for SharePoint Web Services (SPServices) 2013.02 Re-Released

Back on December 28, 2013, I released SPServices 2013.02, just squeaking in under the wire to be able to name it thusly. Soon after the release, Paul Tavares (@paul_tavares) and I noticed a few significant issues. These issues are fixed in 2013.02a. If you downloaded 2013.02, please replace it with 2013.02a. For the record, the issues…

jQuery Library for SharePoint Web Services (SPServices) 2013.02 Released

Yesterday I released SPServices 2013.02. Here are the release headlines: Improved compatibility with SharePoint 2013, whether on premises or on Office365, especially in the value-added functions (SPCascadeDropdowns, SPDisplayRelatedInfo, etc.) Better API stability, including fixes for GetListItemChanges, GetListItemChangeSinceToken, and others Bug fixes and performance improvements While this is primarily a maintenance release, if you are using…