Basically in CSOM, there is no direct property to get the item versions from a List Item. But by using “Lists Web Service”(/_vti_bin/Lists.asmx) we can get all versions and properties information for each item inside Custom List or Document Library. To get the above required functionality first of all we have add the “Lists Web Service” in the required project. […]
How to get all SharePoint List item versions using ‘Client Side Object’ model both for Custom list and Document Library?
How To Get All Orphan Users Present In SharePoint On-Premise Site
An Orphaned User is a user account that is available in SharePoint site but that user can’t access SharePoint any longer. This can be in a case if the user account is deleted or disabled from the Active Directory. In this blog, first, we are retrieving all the users from the user information list of the site collection, then we […]
SharePoint App Operations Using PnP PowerShell
PnP PowerShell can be used to automate the deployment, publishing, installing, upgrading and retracting apps in SharePoint online as well as SharePoint on-premises. In this blog, we will look at steps to get, add, install, deploy, update, remove and uninstall SharePoint app to Modern Site using PnP PowerShell. Adding and publishing app to the app catalog: Adding app (.sppkg file, .app […]
How to use Mutation Observer in SPFx (Application Customizer)
The following blog will help you to add your custom action menu in SharePoint modern page. As we are not able to get the DOM element for action menu in OnInit() method of SPFx(application customizer) so here we will see how mutation observer helps to get the DOM element SharePoint modern pages custom action menus and add your own […]
Identify The Modern Pages And Copy Them To Another Site Collection
In this blog, I am going to perform two actions – Identify if a page is a modern page or not. Migrate or copy that modern page (including its content) to another site collection or site (destination location) I am going to accomplish these tasks by using CSOM (Client Object Model). After identifying the modern page, I will copy the […]
Wildcard search of Users using CSOM in SharePoint
In this blog, I will explain how to find users using ClientPeoplePickerSearchUser class. There are many ways in CSOM to get the users from SharePoint site or web but I did not find any proper way to perform wildcard search of users from SharePoint site using CSOM. For e.g lets, I want to find all users present in site collection […]
Add and Remove Site Columns from Site Content Type
In this blog post, I am going to add and remove site columns in existing site content type. Content types empower you to arrange, oversee, and handle content reliably across your sites. To view all content types used in the site collection. Open SharePoint site Navigate to site settings ->Under Web designer galleries -> Click Site content type or navigate […]
Configure SharePoint On-Premises Deployments for Apps in SharePoint 2019
This article describes how to configure the on-premise environment to support Apps in SharePoint 2019. Follow below steps to configure the environment: 1- Configure the domain names in DNS 2- Verify the newly created domain name 3- Configure the Subscription Settings and App Management service applications 4- Configure App URLs Configure the domain names in DNS: 1) In DNS Manager, […]
How to Create Web Part Page in SharePoint 2013/2016/2019 Programmatically using CSOM?
Basically, CSOM has not exposed any inbuilt functions which will help us in creating web part page template in SharePoint 2013/2016/2019. By using CSOM functions we can create wiki pages, modern pages and also publishing page but we cannot create web part pages. In this blog post I am going to use “Web Browser Control” to achieve this task. By […]
Retrieve SP list item’s column value in SPFx application customizer using PNP
In this blog article, I am going to describe all the steps required to get SharePoint list field values by using SharePoint Framework model which is SPFx. If you are already familiar with SPFx then you might have a better understanding on SPFx application customizer. If you are new to SPFx then please go through this below-mentioned link from where […]