After the arrival of modern experience, SharePoint Online drastically change in the functionalities, look and feel etc.. Among them, modern Communication and Team site templates are one of the major revamp in SharePoint Online User Interface. SharePoint Online CSOM from PnP also grows with lot of new properties and methods Read more…
This post contains the code-snippet returns the current web is Publishing or not
This post contains the code-snippet returns the web information from SharePoint using PnP core component
This blog contains the code-snippet used to delete the child site based on the provided url.
This blog contains the codesnippet returns the collections of the URLs of all web sites that are contained within the site collection including the top-level site and its sub sites.
WebExtensions.CreateWeb – This CSOM extension method from PnP Core Component used to create a new sub-site under the parent web in SharePoint. Supports: SharePoint 2013+, SharePoint Online Assembly: OfficeDevPnP.Core.dll Namespace: Microsoft.SharePoint.Client There are two extension CreateWeb methods are provided in PnP Core Component for creating a subsite under WebExtensions class. Method Read more…
This post contains the JSOM examples to enable or disable the access to Master Page customization in SharePoint Site Collection.
The code snippets in below examples used to disable or enable the SharePoint Designer access to Site Owners and Site Designers using SharePoint JSOM.
Properties Used: SP.Site.allowDesigner (SP.js)