Office 365 – Microsoft announced new version CSOM (Client Side Object Model) for SharePoint Online and Project Online – April 2019

Microsoft announced new version of CSOM (Client Side Object Model) for SharePoint Online and Project Online.
We will get latest version of CSOM package for SharePoint Online and Project Online from the NuGetgallery having search term or with an ID – “Microsoft.SharePointOnline.CSOM”.
The latest version of CSOM package is 16.1.8810.1200 as
Fig 1 : Office 365 – SharePoint Online / Project Online : New version of CSOM package
Fig 2 : Office 365 – SharePoint Online / Project Online : Latest CSOM details in NuGet
Note: Here, only NuGet version is changed but assembly version remain same – 16.1.0.0. Previous versions of the NuGet are not removed.
This NuGet package is only for SharePoint Online and cannot use as it is for SharePoint on-premises environment (SharePoint 2013, 2016 or 2019).
SharePoint Online Management Shell has been also updated to match with this CSOM release. We can download from here
This release contains a few new important APIs and cmdlets for new capabilities.
But following are important Cmdlets, properties, classes and methods are added
In Microsoft.SharePoint.Client
- public class Microsoft.SharePoint.Administration.OrgAssets
- public class Microsoft.SharePoint.Administration.OrgAssetsLibrary
public class Microsoft.SharePoint.Administration.OrgAssetsLibraryCollection - public class Microsoft.SharePoint.Client.FieldThumbnail
- public property Microsoft.SharePoint.Client.SharingLinkData.Embeddable
- public property Microsoft.SharePoint.Client.SharingLinkInfo.Embeddable
- public method Microsoft.SharePoint.Client.User.Expire
In Microsoft.Online.SharePoint.Client.Tenant
Following properties, classes and methods have been added.
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.AddToOrgAssetsLibAndCdn
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.AllowCommentsTextOnEmailEnabled
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetOrgAssets
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.RemoveFromOrgAssetsAndCdn
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SwapSite
- public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AddToOrgAssetsLibAndCdn
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AllowCommentsTextOnEmailEnabled
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.GetOrgAssets
- public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.RemoveFromOrgAssetsAndCdn
New cmdlets in SharePoint Online Management Shell
Here’s a list of new cmdlets included in the SharePoint Online Management Shell release.
- Add-SPOOrgAssetsLibrary
- Get-SPOOrgAssetsLibrary
- Invoke-SPOSiteSwap
- Remove-SPOOrgAssetsLibrary
Reference :
https://developer.microsoft.com/en-us/office/blogs/new-sharepoint-csom-version-released-for-sharepoint-online-april-2019/
Thanks for reading 🙂
Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more. If you have any suggestion / feedback / doubt, you are most welcome.
Stay tuned on Knowledge-Junction, will come up with more such articles.
You must log in to post a comment.