September 3rd, 2018

New SharePoint CSOM version released for SharePoint Online – August 2018

We are happy to announce the availability of new SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This was mainly a small maintenance release with minimal updates on the CSOM API surface. The August 2018 release was delayed until early September due to few logistic issues.

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 to the latest version, rather than downloading the SDK to your machine.

The version of the newly released CSOM package is 16.1.8029.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.8029.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.

Latest CSOM NuGet version from NuGet gallery

SharePoint Online Management Shell has been also updated to match with this CSOM release with few new cmdlets as listed below.

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 on your target environment are 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 across 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 class Microsoft.SharePoint.Administration.CentralAssetRepository
  • public class Microsoft.SharePoint.Administration.CentralAssetRepositoryLibrary
  • public class Microsoft.SharePoint.Administration.CentralAssetRepositoryLibraryCollection
  • public property Microsoft.SharePoint.Client.CopyMigrationInfo.SourceListItemUniqueIds
  • public enum value Microsoft.SharePoint.Client.FieldUserSelectionMode.GroupsOnly
  • public enum Microsoft.SharePoint.Client.HeaderLayoutType
  • public property Microsoft.SharePoint.Client.List.EnableRequestSignOff
  • public method Microsoft.SharePoint.Client.ListItem.MediaServiceUpdateV2
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.MediaServiceAutoKeyPoints
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.MediaServiceEventHashCode
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.MediaServiceGenerationTime
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.MediaServiceKeyPoints
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.MediaServiceTranscript
  • public property Microsoft.SharePoint.Client.MediaServiceUpdateParameters.SensitivityLabel
  • public enum value Microsoft.SharePoint.Client.OpenWebOptions.InitExtendedWebProperties
  • public class Microsoft.SharePoint.Client.OpenWebParameters
  • public enum value Microsoft.SharePoint.Client.RenderListDataOptions.FolderContentTypeOrder
  • public enum value Microsoft.SharePoint.Client.RenderListDataOptions.ListAvailableContentTypes
  • public property Microsoft.SharePoint.Client.SharingLinkData.BlocksDownload
  • public property Microsoft.SharePoint.Client.SharingLinkData.IsSubmitOnlyLink
  • public property Microsoft.SharePoint.Client.SharingLinkInfo.IsSubmitOnlyLink
  • public property Microsoft.SharePoint.Client.Site.SensitivityLabel
  • public enum value Microsoft.SharePoint.Client.SPVariantThemeType.Neutral
  • public property Microsoft.SharePoint.Client.Web.HeaderLayout
  • public property Microsoft.SharePoint.Client.Web.HideSiteLogo
  • public property Microsoft.SharePoint.Client.Web.HideSiteTitle

Microsoft.Online.SharePoint.Client.Tenant

Following properties, classes and methods have been added.

  • public property Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData.secondaryAdministratorLoginNames
  • public property Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsInfo.loginName
  • public property Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.SensitivityLabel
  • public property Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.TimeZoneId
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.AddToCarLibAndCdn
  • public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisabledWebPartIds
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetCentralAssetRepo
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSiteScriptFromList
  • public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.OrgNewsSiteUrl
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.RegisterHubSiteWithCreationInformation
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.RemoveFromCarAndCdn
  • public method Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequestCollection.Approve
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AddToCarLibAndCdn
  • public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.GetCentralAssetRepo
  • public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.RemoveFromCarAndCdn

Microsoft.ProjectServer.Client

Following properties, classes and methods have been added.

  • public method Microsoft.ProjectServer.Client.LookupTable.AddMask
  • public method Microsoft.ProjectServer.Client.LookupTable.UpdateMask
  • public enum Microsoft.ProjectServer.Client.QueueMsgType

New cmdlets in SharePoint Online Management Shell

Here’s a list of new cmdlets included in the SharePoint Online Management Shell release. Documentation for these will be provided when capabilities will be enabled.

  • Add-SPOTenantCentralAssetRepositoryLibrary
  • Get-SPOSiteScriptFromList
  • Get-SPOTenantCentralAssetRepository
  • Remove-SPOTenantCentralAssetRepositoryLibrary

 

“Sharing is caring”

 


SharePoint Team, Microsoft – 3rd of September 2018