JavaScript

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 »

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

Hey there, SharePoint enthusiasts! Today, we’re diving into something super practical and often-requested—uploading files to SharePoint using the REST API. We’ll explore two approaches: one using plain ol’ JavaScript and another using PnPjs (a delightful library for simplifying SharePoint operations). I’ll also walk you through an example application in React, just to show how all

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

SharePoint Data Handling with PnP Batching Queries

When working with SharePoint data, performance is key. Imagine needing to update thousands of items in a list—doing this one by one is a nightmare. This is where PnP Batching Queries come in! Whether you’re using an older version of PnP JS or the latest release, batching allows you to perform multiple operations in a

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 »

XSLT: Transforming XML with Style

Extensible Stylesheet Language Transformations (XSLT) is a powerful tool for transforming XML data into different formats, including HTML, plain text, and even other XML structures. It provides a structured way to apply styles and modify XML content, making it essential in various domains where XML plays a critical role. In this blog, we will explore

XSLT: Transforming XML with Style Read More »

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

If you’ve ever found yourself tangled in a mess of HTML and JavaScript, Handlebars.js might just be the hero you didn’t know you needed. Let’s dive into what it is, why it’s popular, and how you can start using it today. What is Handlebars.js? Handlebars.js is a simple templating language that helps you separate your

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