{"id":301,"date":"2017-08-11T00:00:00","date_gmt":"2017-08-11T00:00:00","guid":{"rendered":"http:\/\/officedevblogs.wpengine.com\/?p=301"},"modified":"2021-11-15T10:38:11","modified_gmt":"2021-11-15T18:38:11","slug":"new-sharepoint-csom-version-released-for-office-365-august-2017","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/new-sharepoint-csom-version-released-for-office-365-august-2017\/","title":{"rendered":"New SharePoint CSOM version released for SharePoint Online &#8211; August 2017"},"content":{"rendered":"<div id=\"body-content\">\n<p>We are happy to announce the availability of new&nbsp;SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This release again contains&nbsp;few updates on the existing SharePoint and Project CSOM assemblies and some maintenance changes<span>.&nbsp;<\/span><\/p>\n<p>You can find the latest CSOM package for SharePoint Online, including the Project Online CSOM assembly, from the <a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.SharePointOnline.CSOM\">NuGet gallery<\/a> with 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&nbsp;the SDK to your machine.<\/p>\n<p>The version of the newly released CSOM package is <strong>16.1.6802.1200<\/strong>. Previous&nbsp;versions of the NuGet have&nbsp;<strong>not<\/strong> been removed so that your existing solutions will continue working without issues and you can decide when the new version is taken into use.&nbsp;Notice that even though the NuGet version is increased to 16.1.6802.1200, actual assembly version of the released assemblies is 16.1.0.0. You can also check the version of the assemblies from the <em>File Version attribute<\/em>, which aligns with the NuGet version.<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" width=\"1117\" height=\"772\" alt=\"CSOM package visible in the NuGet gallery view at Visual Studio\" src=\"https:\/\/officedevblogs.wpengine.com\/wp-content\/uploads\/2018\/05\/SPCSOMNuget16168021200.png.png\"><\/p>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=35588\">SharePoint Online Management Shell<\/a>&nbsp;has been also updated to match with this CSOM release. <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/office\/jj193041.aspx\">MSDN reference API documentation<\/a>&nbsp;was last time updated during and we&#8217;re working on a refresh for these as well. &nbsp;<\/p>\n<p><strong><em>Notice<\/em><\/strong>&nbsp;that since this NuGet&nbsp;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&nbsp;dependency to your target environment are clarified in following blog post &#8211; <a href=\"http:\/\/officedevblogs.wpengine.com\/using-correct-csom-version-for-sharepoint-customizations\">Using correct Client-Side Object Model (CSOM) version for SharePoint customizations<\/a>.&nbsp;We have released separate NuGet packages for on-premises. See following blog post for additional details &#8211; <a href=\"https:\/\/officedevblogs.wpengine.com\/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 cross assemblies<\/h2>\n<p>Here&#8217;s a raw list of all the changes in the classes,&nbsp;properties and methods within this package.&nbsp;<\/p>\n<h2>Microsoft.SharePoint.Client<\/h2>\n<p>Following properties, classes and methods have been <strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.CurrencyInformation<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.CurrencyInformationCollection<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.CurrencyList\n<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.FileVersionCollection.RecycleByID<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.FileVersionCollection.RecycleByLabel\n<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.LanguageCollection\n<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ListItem.Versions<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.ListItemVersion<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.ListItemVersionCollection\n<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.RegionalSettings.InstalledLanguages\n<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.SharingLinkData.RequiresPassword<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.SharingLinkData.RestrictedShareMembership<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.SharingLinkInfo.RequiresPassword<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.SharingLinkInfo.RestrictedShareMembership\n<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.User.IsEmailAuthenticationGuestUser<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Web.HorizontalQuickLaunch\n<\/li>\n<\/ul>\n<h2>Microsoft.Online.SharePoint.Client.Tenant<\/h2>\n<p>Following properties, classes and methods have been <strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>class<\/strong> Microsoft.Online.SharePoint.TenantAdministration.ContactAdminsByEmailFieldsData<\/li>\n<li>public <strong>class<\/strong> Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData<\/li>\n<li>public <strong>class<\/strong> Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData<\/li>\n<li>public <strong>class<\/strong> Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsInfo\n<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplate.Id<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisplayNamesOfFileViewers<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSPOTenantAllWebTemplates\n<\/li>\n<\/ul>\n<h2>Microsoft.Office.Client.Policy<\/h2>\n<p>Following properties, classes and methods have been<span>&nbsp;<\/span><strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AcceptMessagesOnlyFromSendersOrMembers<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AccessType<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AllowAccessFromUnmanagedDevice<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.ContainsSiteLabel<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.RequireSenderAuthenticationEnabled<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.SharingCapabilities\n<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyStore.GetComplianceTags<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyStoreProxy.GetAvailableTagsForSiteLabel\n<\/li>\n<\/ul>\n<p><span style=\"font-size: large\"><em>&ldquo;Sharing is caring&rdquo;<\/em><\/span><\/p>\n<hr>\n<p><i><a href=\"https:\/\/twitter.com\/vesajuvonen\">Vesa Juvonen<\/a>, Senior Program Manager, OneDrive-SharePoint Engineering, Microsoft &#8211; 11th&nbsp;of August 2017<\/i><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce the availability of new&nbsp;SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This<\/p>\n","protected":false},"author":69217,"featured_media":302,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint-framework"],"acf":[],"blog_post_summary":"<p>We are happy to announce the availability of new&nbsp;SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/301","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\/69217"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/301\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/302"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}