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)
The code snippet used to return the collection for content types for the particular SharePoint Web.
Properties Used: SP.Web.ContentTypes (SP.js)