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
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
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)
The example in this post helps to update and retrieve the title and description of the particular list.
Properties Used: SP.List.title (SP.js) and SP.List.description (SP.js)