Written by

Ravin Thangaraj

Share

  

Category

see all categories
watchdog365 Office 365 Governanance Tool

Microsoft releases New SharePoint CSOM – October 2017 Release

Microsoft announced the release of new SharePoint CSOM (Client-Side Object Model) for Office 365 users, specifically for SharePoint Online. This new release will have updates for the existing SharePoint & Project CSOM assemblies.

The latest CSOM package for both SharePoint Online and Project Online could be found in the NuGet Gallery. It will have an id ‘Microsoft.SharePointOnline.CSOM’. Microsoft recommends using NuGet package to gain access to the new version, rather than downloading the SDK into your machine. However, Microsoft has not removed the previous versions of NuGet so that your existing applications will work without any issues. You could also check the version of the assemblies from the File Version attribute, which is mapped to the NuGet version numbers.

CSOM in SharePoint

Soon, Microsoft will be updating the SharePoint Online Management Shell to match with this CSOM release. It is to be noted that the since this NuGet package is for SharePoint Online, this cannot be used directly for on-premises environments like SharePoint 2013 or SharePoint 2016. The reason is that it has server-side dependencies of the APIs served. However, there is a separate NuGet package available for on-premises. You can have a look here for more details.

New properties and methods cross assemblies

For your reference, we have 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 methodSharePoint.Client.APIHubConnector.SetApprovalStatus
  • public propertySharePoint.Client.ChangeItem.UniqueId
  • public propertySharePoint.Client.CopyMigrationOptions.IsMoveMode
  • public enumSharePoint.Client.CustomerKeyStatus
  • public propertySharePoint.Client.ListItemFormUpdateValue.ItemId
  • public propertySharePoint.Client.RenderListDataParameters.AddRequiredFields
  • public propertySharePoint.Client.SharingLinkData.HasExternalGuestInvitees
  • public propertySharePoint.Client.SharingLinkData.IsOriginatedFromSharingFlow
  • public propertySharePoint.Client.SharingLinkInfo.HasExternalGuestInvitees
  • public enumSharePoint.Client.SharingOperationStatusCode
  • public methodSharePoint.Client.Site.RecoverTenantForBringYourOwnKey
  • public propertySharePoint.Client.User.AadObjectId
  • public enumSharePoint.Client.UserSharingCapabilities

Microsoft.Online.SharePoint.Client.Tenant

Following properties, classes and methods have been added.

  • public propertyOnline.SharePoint.TenantAdministration.SiteProperties.AllowEditing
  • public propertyOnline.SharePoint.TenantAdministration.Tenant.AllowEditing
  • public propertyOnline.SharePoint.TenantAdministration.Tenant.EmailAttestationReAuthDays
  • public propertyOnline.SharePoint.TenantAdministration.Tenant.EmailAttestationRequired
  • public propertyOnline.SharePoint.TenantManagement.Office365Tenant.AllowEditing
  • public propertyOnline.SharePoint.TenantManagement.Office365Tenant.EmailAttestationReAuthDays
  • public propertyOnline.SharePoint.TenantManagement.Office365Tenant.EmailAttestationRequired

Hope you find this article useful. For more interesting updates, do subscribe to our blog. We shall keep you informed of our new blogs right to your inbox.

Ravin Thangaraj

Written by Ravin Thangaraj

Ravin is our Design expert who handcrafts the UI of our apps and blog images. Ravin knows design is more of a conversation than a monologue, and that is obvious when you look at his designs. Yup, every one of his images will converse with you if you have a close look!