Site Context

SharePoint Attachments Operations with PnP.js in React

List attachments keep a file tied directly to a specific item – a screenshot on a bug, a resume on a candidate record – without setting up a separate document library. This covers uploading, reading, and deleting them with PnP.js inside a React-based SPFx component, plus batching when you’re handling more than one file at […]

SharePoint Attachments Operations with PnP.js in React Read More »

SharePoint Attachments Operations with JavaScript

SharePoint attachments – files uploaded directly onto a list item, not into a document library – are common in forms and ticketing-style lists. Here’s how to create, read, and delete them with plain JavaScript against the REST API, no PnPjs required. In this post: Uploading an attachment · Reading attachments · Downloading the actual file

SharePoint Attachments Operations with JavaScript Read More »

Methods on how to Add Attachments to SharePoint List

SharePoint doesn’t have one “add attachment” button that works everywhere – which method you reach for depends on whether you’re writing client-side JavaScript, building an SPFx web part, or automating something from a script. The three approaches below all do the same thing: attach a file to a specific list item. The difference is what

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

SharePoint Content Types: The Good, The Bad, and The Ugly

A SharePoint Content Type is a reusable bundle of columns, settings, and (optionally) a document template that you define once and apply across multiple libraries – instead of manually adding the same “Invoice Number,” “Due Date,” and “Amount” columns to every library that handles invoices. In this post: Why use content types · Creating one

SharePoint Content Types: The Good, The Bad, and The Ugly 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

In this post: Introduction · Understanding SharePoint User Roles · Checking If a User Is an Admin in an SPFx WebPart · Checking in an Application Customizer · Alternative: Checking Site Owners Group Membership · The simpler check you probably want first · Pros and Cons of Different Approaches · Related reading Introduction When working

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

Rendering SharePoint List Extensions for Specific List Templates

Command Sets and Application Customizers scope to specific list templates the same way, through `RegistrationType`/`RegistrationId` in `elements.xml`. Field Customizers don’t – they’re registered against a specific column, not a list template, a genuinely different mechanism worth knowing before assuming one pattern covers all three extension types this post touches on. In this post: Scoping a

Rendering SharePoint List Extensions for Specific List Templates Read More »

PnPJs .getAll() Function to get all list items Explained

Worth leading with directly, since it changes what this post can actually recommend: `.getAll()` was removed entirely in PnPjs v4, the current major version as of 2026. The replacement isn’t a renamed method – it’s a genuinely different pattern, the same async-iterator (`for await…of`) approach covered from the JavaScript-fundamentals side in Does “for…of” loop wait

PnPJs .getAll() Function to get all list items Explained Read More »

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices

PnP (Patterns and Practices) is the umbrella for several separate tools that speed up SharePoint Framework development – PnPjs for calling SharePoint from code, PnP PowerShell for admin/automation tasks, and a library of reusable React controls for SPFx web parts. This post covers what each actually does, where the real limitations are, and two places

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices Read More »

Exploring SharePoint REST API Endpoints

The SharePoint REST API is organized entirely around one root path – {site-url}/_api/ – with everything else (lists, files, users, search) hanging off web, site, or a dedicated service beneath it. Here’s a reference list of the endpoints you’ll actually reach for, plus a working example calling one from plain JavaScript. In this post: Site

Exploring SharePoint REST API Endpoints Read More »