Blog Posts

Update a SharePoint ListItem without increasing its item file version using SharePoint Client Side Model(CSOM).

Basically, when we are trying to update a SharePoint ListItem/Document then the item/file version is increased according to the list versioning. In the Server side object model, we can update a ListItem without increasing its file version by setting ‘SystemUpdate’ as false. But in CSOM ‘SystemUpdate’ property is not supported. In this below code block I have mentioned how we can Update a Listitem/file without changing item/file version number by using “ValidateUpdateListItem” method. I have used a sample console application

Continue Reading

MFA (Multi Factor Authentication) Authentication using PowerShell in SharePoint online

Now a day’s authentication is the most important factor in cloud environment. Many of the organizations are utilizing SharePoint Online as their Content Management System, it is basic that the delicate information does not slip into false hands. Therefore, Multi-Factor Authentication for Office 365 becomes possibly the most important factor. Multi-factor authentication, is a two-step process. In addition to passwords, users are expected to acknowledge a phone call/ text message to complete the verification process. One can enable Multi-Factor Authentication

Continue Reading

Get SPList column values in SPFX application customizer using PnP

In this blog the method to get a SharePoint lists column values in SPFX application customizer is explained elaborately. We will see how we can use pnp in SPFX to get our required values. In the following code we will retrieve the value of the default columns for example “Title”, “Id” etc. also value of some custom columns. In the following code block I have retrieved following column values: Title Id MyCustomFld which is a custom column MyLookUpFld which is

Continue Reading

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 the specified values. Add-PnPCustomAction -Name ‘Item Search’ -Title ‘Item Search’ -Description ‘Adds custom action to SiteSettings’ -Group ‘SiteAdministration’ -Location ‘Microsoft.SharePoint.SiteSettings’

Continue Reading

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 list view and finally how to delete a list view. Befor you start using the code attached you have to

Continue Reading

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 a few properties which we can’t set directly from the list object. In this blog, I will explain how to

Continue Reading

How to create structural navigation nodes both in quick launch and top navigation node

Sharepoint customizes navigation feature so that user can navigate to 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 navigation and quick launch. After code executed, you can see root navigation with their respective subnodes created successfully. This solution is brought

Continue Reading

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” as a “LayoutType” parameter. Add-PnPClientSidePage -Name “NewPage” -LayoutType Home Output Set the Modern page Property The Set-PnPClientSidePage command is used to update the

Continue Reading

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 few list properties using SchemaXml l. There are many ways in CSOM to get the properties from SharePoint list but few properties are there which we can’t get directly from list

Continue Reading

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 programatically, first we have to get Theme Url,Image Url,Font Scheme URL of templates. we can get it in Composed Looks list.you can get it navigating through “Siteurl + /_catalogs/design/AllItems.aspx” . Below image

Continue Reading

Site Footer