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 […]
Add and Remove Custom Action Using PnP PowerShell
How to Add, Update and Delete SharePoint List View Using Pnp In SPFX Application-Customizer
In this blog, the method to add, update and delete SharePoint list view in SPFX application customizer is explained elaborately. We will see how we can use PnP in SPFX to perform all these list view operations. In the following code, we will go through step by step method to add our custom views with required properties, update an existing […]
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 […]
How to create structural navigation nodes both in quick launch and top navigation node
Sharepoint customizes navigation feature so that user can navigate to a different location and access them quickly. You can add, edit, or remove links on the left-hand menu (Quick Launch menu), the top menu (Top Navigation Node) through edit links. In this blog, we are going to create structural navigation node that is root node having subnodes in both top […]
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. […]
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 […]