Add and Remove Custom Action Using PnP PowerShell

In this blog article, I am going to add and remove custom action using PnP PowerShell. Adding a custom action to the SharePoint site: The Add-PnPCustomAction command is used to add a user custom action to a web or site collection. Example: This example adds a new custom action to the Site Settings and sets the Title, Name and other fields with […]

Set List Properties By WebRequest

There are many ways in CSOM to set the list properties of a SharePoint site but there are a few properties which we can’t set directly from list object. In this blog, I will explain how to set those properties using WebRequest. There are many ways in CSOM to set the list properties of a SharePoint site. But there are […]

Add And Manipulate Modern SharePoint Page Using PnP PowerShell

In this blog, we will look at the steps to add and manipulate Modern SharePoint page using PnP PowerShell. Adding a Modern page to the SharePoint site The Add-PnPClientSidePage command is used to add a modern page to the SharePoint site. Add-PnPClientSidePage -Name “NewPage” Output By default, Add-PnPClientSidePage creates an Article layout type. To create the Home layout type, we have to pass “Home” […]

Getting List Properties from SchemaXml

There are many ways in CSOM to get the list properties from SharePoint site but few properties are there which we can’t get directly from list object. In this blog, I will explain how to find those using the SchemaXml. In this blog, I will explain how to find a few list properties using SchemaXml l. There are many ways […]

How to Change the Look of SharePoint using CSOM

This blog will help you how to change SharePoint look programmatically using CSOM. In SharePoint we can manually change the site collection look through Navigating Site setting -> Look and feel -> Change the look. Select the template that you want to keep. To change the SharePoint look programmatically, first, we have to get Theme Url, Image Url,Font Scheme URL […]

How to get all SharePoint List item versions using ‘Client Side Object’ model both for Custom list and Document Library?

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. […]

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 […]