PnP

How to Avoid List Throttling in SharePoint

If you’ve ever worked with large SharePoint lists, you’ve probably encountered the dreaded list throttling issue. Suddenly, your queries stop working, your scripts throw errors, and users start complaining. But what exactly is list throttling? Why does it happen? And most importantly, how can you avoid it? In this article, we’ll break down everything you […]

How to Avoid List Throttling in SharePoint Read More »

SharePoint ‘Save Site as Template’ Challenges

What is “Save Site as Template” in SharePoint? The “Save Site as Template” feature in SharePoint allows users to create a reusable template based on an existing site. This template can be used to replicate the structure, content types, lists, libraries, and some settings of the original site, making it easier to standardize site creation

SharePoint ‘Save Site as Template’ Challenges Read More »

Gulp: Automate Your Workflow Like a Pro

What is Gulp? Gulp is an open-source JavaScript task runner that automates repetitive tasks in development workflows. It helps developers handle tasks like minification, compilation, linting, testing, and browser reloading efficiently. Unlike other task runners, Gulp uses a code-over-configuration approach, making it more readable and easier to set up. It processes tasks using Node.js streams,

Gulp: Automate Your Workflow Like a Pro Read More »

When Should We Use SharePoint Group and AD Group?

Managing user permissions efficiently is crucial in any SharePoint environment. One of the common dilemmas administrators face is choosing between SharePoint Groups and Active Directory (AD) Groups for managing permissions. Both have their strengths and weaknesses, and understanding when to use each is essential for optimizing security and administration. What is a SharePoint Group? SharePoint

When Should We Use SharePoint Group and AD Group? Read More »

Methods on how to Add Attachments to SharePoint List

When working with SharePoint lists, you might find yourself in a situation where you need to attach files to a list item. This is especially useful for document approvals, storing additional details, or just keeping relevant files together. Thankfully, SharePoint provides multiple ways to achieve this, including the SharePoint REST API, PnPjs, and PnP PowerShell.

Methods on how to Add Attachments to SharePoint List Read More »

SharePoint REST API File Uploads Using JavaScript and PnPjs

Two ways to upload a file to a SharePoint document library via code — raw REST calls, or PnPjs — plus what changes once the file is big enough that a single request isn’t the right approach anymore. In this post: Option 1: raw REST API · Option 2: PnPjs · Large files: chunked uploads

SharePoint REST API File Uploads Using JavaScript and PnPjs Read More »

Remove All Permissions in a SharePoint Site Collection

Imagine you’ve just completed a major project in SharePoint, and now it’s time to secure the site so that only you have access. Maybe you’re preparing a site for migration, shutting it down, or ensuring compliance by restricting access to sensitive data. Whatever the case, locking down a SharePoint site collection can be crucial. In

Remove All Permissions in a SharePoint Site Collection Read More »

SharePoint Data Handling with PnP Batching Queries

Updating a thousand SharePoint list items one request at a time is slow and burns through API throttling limits fast. PnPjs batching bundles multiple operations into a single HTTP call instead — here’s the syntax for both the older and current versions of the library, and the real limit worth knowing before you rely on

SharePoint Data Handling with PnP Batching Queries Read More »

SPFx: Check if User is an Admin or an Owner is SharePoint

Introduction When working with SharePoint Framework (SPFx), there are times when you need to determine whether a user has administrative privileges. This is especially useful in scenarios where certain UI elements or functionalities should only be accessible to administrators. In this blog, we’ll explore how to check if a user is an admin using the

SPFx: Check if User is an Admin or an Owner is SharePoint Read More »

How to Export SharePoint Site Users to an Excel Spreadsheet

When managing a SharePoint On-Premises environment, there are scenarios where you need to export site users into an Excel spreadsheet. Whether it’s for auditing, troubleshooting, or monitoring purposes, exporting users can help administrators ensure their sites are secure and compliant. In this blog, we’ll discuss how to achieve this using PowerShell scripts with SharePoint Add-Ins

How to Export SharePoint Site Users to an Excel Spreadsheet Read More »