NodeJS

Regular Expressions (Regex) : Quick Guide

Regular Expressions (commonly known as Regex) might seem like an intimidating topic at first, but once you get the hang of it, they become an indispensable tool for text processing, validation, and searching. Whether you’re a developer, data analyst, or system administrator, regex can help you manipulate and extract data with precision and efficiency. In […]

Regular Expressions (Regex) : Quick Guide 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 »

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 »

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 »

Handlebars.js: The Templating Engine You Didn’t Know You Needed

Handlebars.js separates HTML structure from the JavaScript that fills it with data — instead of building markup with string concatenation, you write a template with {{placeholders}} and compile it against a data object. Here’s what it actually looks like, where it fits, and where a real framework is the better call instead. In this post:

Handlebars.js: The Templating Engine You Didn’t Know You Needed Read More »

ChatGPT vs. GitHub Copilot: Comprehensive Comparison

The rise of artificial intelligence (AI) has introduced revolutionary tools that cater to a variety of professional and personal needs. Among these tools, OpenAI’s ChatGPT and GitHub’s Copilot have gained significant attention. While both are powered by advanced AI models, their functionalities and applications cater to different user bases. This blog aims to provide a

ChatGPT vs. GitHub Copilot: Comprehensive Comparison Read More »

How to Escape Apostrophes in SharePoint REST Queries

When working with SharePoint REST APIs, special characters like apostrophes can often disrupt query execution. These seemingly small characters can cause syntax errors, broken queries, and unexpected behavior if not properly handled. This blog delves into how to escape apostrophes in SharePoint REST queries, providing detailed explanations, practical examples, real-life scenarios, a discussion of pros

How to Escape Apostrophes in SharePoint REST Queries Read More »

Rendering SharePoint List Extensions for Specific List Templates

SharePoint Framework (SPFx) extensions provide a powerful way to customize and enhance SharePoint lists and libraries. However, there are scenarios where you want to render your SPFx list extensions (like Command Sets, Field Customizers, or Application Customizers) only for specific types of list templates. This is achievable by modifying the ClientSideInstance.xml and elements.xml files in

Rendering SharePoint List Extensions for Specific List Templates Read More »