{"id":1319,"date":"2018-06-04T22:15:36","date_gmt":"2018-06-04T22:15:36","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=1319"},"modified":"2018-06-04T22:15:36","modified_gmt":"2018-06-04T22:15:36","slug":"new-sharepoint-csom-version-released-for-sharepoint-online-may-2018","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/new-sharepoint-csom-version-released-for-sharepoint-online-may-2018\/","title":{"rendered":"New SharePoint CSOM version released for SharePoint Online &#8211; May 2018"},"content":{"rendered":"<p>We are happy to announce the availability of new\u00a0SharePoint 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.<\/p>\n<p>You can find the latest CSOM package for SharePoint Online, including the Project Online CSOM assembly, from the\u00a0<a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.SharePointOnline.CSOM\">NuGet gallery<\/a>\u00a0with an id of &#8216;<strong><em>Microsoft.SharePointOnline.CSOM<\/em><\/strong>&#8216;. 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\u00a0the SDK to your machine.<\/p>\n<p>The version of the newly released CSOM package is\u00a0<strong>16.1.7723.1200<\/strong>. Previous\u00a0versions of the NuGet have\u00a0<strong>not<\/strong>\u00a0been removed so that your existing solutions will continue working without issues and you can decide when the new version is taken into use.\u00a0Notice that even though the NuGet version is increased to 16.1.7723.1200, actual assembly version of the released assemblies is 16.1.0.0. You can also check the version of the assemblies from the\u00a0<em>File Version attribute<\/em>, which aligns with the NuGet version.<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/devoffice.blob.core.windows.net\/media\/Default\/Blogs\/PCSOMNuget1677231200.png\" alt=\"CSOM NuGet at VS2017 NuGet manager\" \/><\/p>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35588\">SharePoint Online Management Shell<\/a>\u00a0has been also updated to match with this CSOM release. You can find a new set of cmdlets listed in this article.<\/p>\n<p><strong><em>Notice<\/em><\/strong>\u00a0that since this NuGet\u00a0package 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\u00a0dependency to your target environment are clarified in following blog post &#8211;\u00a0<a href=\"http:\/\/dev.office.com\/blogs\/using-correct-csom-version-for-sharepoint-customizations\">Using correct Client-Side Object Model (CSOM) version for SharePoint customizations<\/a>.\u00a0We have released separate NuGet packages for on-premises. See following blog post for additional details &#8211;\u00a0<a href=\"https:\/\/dev.office.com\/blogs\/sharepoint-csom-versions-for-on-premises-released-as-nuget-packages\">SharePoint CSOM versions for on-premises released as NuGet packages<\/a>.<\/p>\n<h2>New properties and methods\u00a0across assemblies<\/h2>\n<p>Here&#8217;s a raw list of all the changes in the classes,\u00a0properties and methods within this package.<\/p>\n<h2>Microsoft.SharePoint.Client<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.SharePoint.Client.CopyMigrationOptions.NameConflictBehavior<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.SharePoint.Client.HubSiteCreationInformation.SiteDesignId<\/li>\n<li>public\u00a0<strong>enum<\/strong>\u00a0Microsoft.SharePoint.Client.MigrationNameConflictBehavior<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.SharePoint.Client.SharingLinkInfo.BlocksDownload<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.SharePoint.Client.SharingLinkInfo.IsDefault<\/li>\n<li>public\u00a0<strong>method<\/strong>\u00a0Microsoft.SharePoint.Client.TeamChannelManager.DemoteTeamChannelById<\/li>\n<li>public\u00a0<strong>method<\/strong>\u00a0Microsoft.SharePoint.Client.TeamChannelManager.DemoteTeamChannelByPath<\/li>\n<li>public\u00a0<strong>method<\/strong>\u00a0Microsoft.SharePoint.Client.TeamChannelManager.PromoteToTeamChannelById<\/li>\n<li>public\u00a0<strong>method<\/strong>\u00a0Microsoft.SharePoint.Client.TeamChannelManager.PromoteToTeamChannelByPath<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.SharePoint.Client.Web.FooterEnabled<\/li>\n<\/ul>\n<h2>Microsoft.Online.SharePoint.Client.Tenant<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties.SiteDesignId<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.Online.SharePoint.TenantAdministration.SPOSitePropertiesEnumerableFilter.GroupIdDefined<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.Online.SharePoint.TenantAdministration.Tenant.SyncPrivacyProfileProperties<\/li>\n<li>public\u00a0<strong>property<\/strong>\u00a0Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.SyncPrivacyProfileProperties<\/li>\n<\/ul>\n<p><em>\u201cSharing is caring\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce the availability of new\u00a0SharePoint 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.<\/p>\n","protected":false},"author":69078,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer"],"acf":[],"blog_post_summary":"<p>We are happy to announce the availability of new\u00a0SharePoint 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.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=1319"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1319\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}