NodeJS

SharePoint Development : SPFx Folder Structure Explained

SPFx (SharePoint Framework) scaffolds a fairly opinionated folder structure via its Yeoman generator — here’s what each part actually does, and the two competing ways to organize your own code inside src/ once a project grows past a single web part. In this post: The scaffolded structure · src/ and config/ in detail · Type-based […]

SharePoint Development : SPFx Folder Structure Explained Read More »

Send Email in SharePoint with SharePoint REST API and PnPjs : What You Need to Know

Important update: the API this post was originally about — SP.Utilities.Utility.SendEmail — was retired by Microsoft on October 31, 2025. If you have code using the raw REST or PnPjs examples further down, it has stopped working. The current, supported way to send email programmatically from SharePoint is Microsoft Graph’s sendMail API. This post now

Send Email in SharePoint with SharePoint REST API and PnPjs : What You Need to Know Read More »

SharePoint Permission Roles Quick Overview

Worth flagging directly before anything else: neither of the two role-assignment examples that usually accompany this topic will actually run against a fresh list or library — both skip breaking permission inheritance first, which SharePoint requires before it accepts a role assignment at all. This post covers the built-in roles, the real numeric IDs behind

SharePoint Permission Roles Quick Overview Read More »

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 »

Troubleshooting Node.js Installation: Common Issues and Fixes

Seven real installation problems people hit with Node.js and npm, and the actual fix for each — version conflicts, permission errors, SSL/proxy issues, and the Windows-specific build-tools error that trips up more people than any of the others. In this post: Conflicting versions · Permission errors (EACCES) · SSL certificate errors · Proxy and firewall

Troubleshooting Node.js Installation: Common Issues and Fixes Read More »

NPM Link and Gulp: Understanding the Power of Local Development

npm link creates a symlink between a globally-linked local package and another project, so you can develop a package and test it live in a consuming project without publishing it to the registry first. In this post: Worked example: building a custom Gulp plugin · The gotcha to know about · Confirming what actually got

NPM Link and Gulp: Understanding the Power of Local Development Read More »