Month: August 2019

How to extract modern page webparts using PnP Core

How to extract modern page webparts using PnP Core

Get all Client Side Webparts from a SharePoint Modern page using PNP Core / How to extract modern page webparts using PnP Core In CMOS we can get the webparts from a page using ‘Microsoft.SharePoint.Client.WebParts.LimitedWebPartManager’ object. We can get all webparts information by using ‘LimitedWebPartManager’ except for the modern/client site pages. We can get modern…

Retrieve Sharing Links Information For A SharePoint Item Using CSOM

There is no direct method present in item object to get /retrieve the sharing links information, we can get item sharing links information by using ‘ObjectSharingInformation’ class. We can get the ‘AnonymousEditLink’, ‘AnonymousViewLink’ and ‘SharedWithUsersCollection’ details using ‘ObjectSharingInformation’. In my below example I have mentioned all the steps how to retrieve all sharing links details…

Get And Apply PnP Template Of A Specific List Or Library Using PnP Provisioning Engine

Get And Apply PnP Template Of A Specific List Or Library Using PnP Provisioning Engine

This blog will show how to get a PnP template of a specific SharePoint list or document library and apply to another site collection using PnP provisioning engine.  Using PnP provisioning you can model a site by configuring the design of site columns, content types, list definitions and instances, composed looks, pages (either web part…

Add and remove operation of Role Definition (Permission Level) in SharePoint site using PnP PowerShell.

Add and remove operation of Role Definition (Permission Level) in SharePoint site using PnP PowerShell.

In this blog, we will see how we can add a custom permission level in SharePoint site using PnP PowerShell. Also we will see how we can get a particular permission level and remove it from SharePoint site using PnP PowerShell. Add Custom Permission Level in SharePoint site: – The following command snippet will help…

Delete all files of a SharePoint library and send an email using Microsoft Workflow

Delete all files of a SharePoint library and send an email using Microsoft Workflow

Microsoft Flow is cloud-based software that allows creating an automated workflow. In this blog, we are going to create a Microsoft flow that will delete all files of a document library. Create A Microsoft Workflow  1. Go to the document library of a modern team site or communication site. If you are using classic TeamSite…

Copy Client-Side Page from one site to the other SharePoint site using PnP

Copy Client-Side Page from one site to the other SharePoint site using PnP

In this post, I am going to show how to copy a modern page from one site to the other SharePoint site. we can achieve this using PnPOnline and CSOM. This code will copy the modern page into another site collection (destination location) and then, it will also copy all the page contents including web…

Create Classic TeamSite, Modern Team Site, Communication Sites And Retrieve All Site Collections From Tenant Using PnP PowerShell

Create Classic TeamSite, Modern Team Site, Communication Sites And Retrieve All Site Collections From Tenant Using PnP PowerShell

In this blog, we are going to create classic TeamSite, modern team site and communication sites using PnP PowerShell. Also, we will see how to retrieve all site collections from the tenant and its subsites using PnP PowerShell. First, we need to connect to the Site. To perform connection add, First We Need to Connect to…

Create A Microsoft Form In Office 365 Site

Create A Microsoft Form In Office 365 Site

Microsoft Forms is nothing but a new O365 app. By using Microsoft Forms, we can create a survey, quiz, and pooling like work easily in O365. Using this we can get the responses of users, members for a different organization in a very simple and easy way. In office 365, we can create and Microsoft…