New SharePoint CSOM version released for SharePoint Online – December 2016

Vesa Juvonen

We are happy to announce availability of new SharePoint Client Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This release again contains few updates on the existing SharePoint CSOM assemblies and some maintenance changes. These monthly changes are not significant, but we want to align on the monthly rhythm in future, so that you can know beforehand that there will be new version arriving during end of each month. 

You can find the latest CSOM package for SharePoint Online, including the Project Online CSOM assembly, from the NuGet gallery with an id of ‘Microsoft.SharePointOnline.CSOM‘. We are also working on updating the redistributable package at some point, but you can already right now start using some of these new capabilities in your solutions. We do recommend you to use the NuGet Package to gain access on latest version, rather than downloading the SDK to your machine.

Version of the newly released CSOM package is 16.1.6008.1200. Previous versions of the NuGet have not been removed, so that your existing solutions will continue working without issues and you can decide when the new version is taken into use. Notice that even though the Nuget version is increased to 16.1.6008.1200, actual assembly version of the released assemblies is 16.1.0.0. You can also check the version of the assemblies from the File Version attribute, which aligns with the NuGet version.

16.1.6008.1200 version shown from the NuGet gallery UI from Visual Studio 2015

We are also looking to update the SharePoint Online Management Shell on early January to align with this specific version.

Notice that since this NuGet package is targeted to SharePoint Online, you cannot use it directly in on-premises environments (SharePoint 2013 or 2016). This is because of the server side dependencies of the APIs. CSOM versioning model and dependency to your target environment is clarified in following blog post – Using correct Client Side Object Model (CSOM) version for SharePoint customizations. We have released separate NuGet packages for on-premises. See following blog post for additional details – SharePoint CSOM versions for on-premises released as NuGet packages.

New properties and methods cross assemblies

Here’s a raw list of all the changes in the classes, properties and methods within this package. 

Microsoft.SharePoint.Client

Following properties, classes and methods have been added.

  • public enum value Microsoft.SharePoint.Activities.SPActivityResponseStatus.InternalError
  • public enum value Microsoft.SharePoint.Administration.AppSource.SiteCollectionCorporateCatalog
  • public class Microsoft.SharePoint.Client.APIHubConnector
  • public property Microsoft.SharePoint.Client.Form.ResourcePath
  • public property Microsoft.SharePoint.Client.List.DefaultViewPath
  • public property Microsoft.SharePoint.Client.List.ExemptFromBlockDownloadOfNonViewableFiles
  • public method Microsoft.SharePoint.Client.List.GetItemByUniqueId
  • public property Microsoft.SharePoint.Client.List.ParentWebPath
  • public method Microsoft.SharePoint.Client.List.SetExemptFromBlockDownloadOfNonViewableFiles
  • public method Microsoft.SharePoint.Client.MoveCopyUtil.CopyFileByPath
  • public method Microsoft.SharePoint.Client.MoveCopyUtil.CopyFolderByPath
  • public method Microsoft.SharePoint.Client.MoveCopyUtil.MoveFileByPath
  • public method Microsoft.SharePoint.Client.MoveCopyUtil.MoveFolderByPath
  • public enum value Microsoft.SharePoint.Client.RenderListDataOptions.PageContextInfo
  • public property Microsoft.SharePoint.Client.RenderListDataParameters.ImageFieldsToTryRewriteToCdnUrls
  • public class Microsoft.SharePoint.Client.SharingLinkData
  • public property Microsoft.SharePoint.Client.SharingLinkInfo.IsUnhealthy
  • public method Microsoft.SharePoint.Client.Site.OpenWebUsingPath
  • public property Microsoft.SharePoint.Client.Site.ResourcePath
  • public property Microsoft.SharePoint.Client.Site.ShowPeoplePickerSuggestionsForGuestUsers
  • public enum Microsoft.SharePoint.Client.SPObjectType
  • public enum value Microsoft.SharePoint.Client.TemplateFileType.ClientSidePage
  • public method Microsoft.SharePoint.Client.Web.GetSharingLinkData
  • public property Microsoft.SharePoint.Client.Web.ResourcePath
  • public enum Microsoft.SharePoint.Client.Sharing.SharedObjectType
  • public enum Microsoft.SharePoint.Client.Sharing.SharingDomainRestrictionMode

Microsoft.Online.SharePoint.Client.Tenant

Following properties have been removed.

  • public enum Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnOriginScope

Following properties, classes and methods have been added.

  • public property Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.ShowPeoplePickerSuggestionsForGuestUsers
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetRootSiteUrl
  • public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.ShowPeoplePickerSuggestionsForGuestUsers
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AddTenantCdnOrigin
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.GetTenantCdnAllowedFileTypes
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.GetTenantCdnEnabled
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.GetTenantCdnOrigins
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.RemoveTenantCdnOrigin
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.SetTenantCdnAllowedFileTypes
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.SetTenantCdnEnabled
  • public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.ShowPeoplePickerSuggestionsForGuestUsers

 

“Sharing is caring”


Vesa Juvonen, Senior Program Manager, OneDrive-SharePoint Engineering, Microsoft – 29th of December 2016

Feedback usabilla icon