Javascript

NPM Link and Gulp: Understanding the Power of Local Development

What is NPM Link? NPM Link is a built-in feature of Node Package Manager (NPM) that allows developers to create symbolic links between a globally installed package and a local project. This makes it possible to work on an NPM package locally while testing it in another project without having to publish it to the …

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

Exploring Gulp and Gulp-CLI

If you’ve ever worked on front-end development or automation, you’ve likely heard of Gulp. It’s one of the most popular task runners that simplifies repetitive tasks like minification, compilation, unit testing, and live reloading. But where does Gulp CLI fit into the picture? How do they work together, and do you actually need both? Let’s …

Exploring Gulp and Gulp-CLI Read More »

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 »

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

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 »