December 2024

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 »

Does “for…of” loop wait for async awaits in JavaScript?

Worth a direct correction before anything else: a `for…of` loop does wait for an `await` inside it — each iteration pauses until the awaited promise resolves before the loop advances to the next one. That’s the opposite of what a stub answer to this question sometimes claims, and it’s easy to get backwards since the

Does “for…of” loop wait for async awaits in JavaScript? Read More »

SharePoint Term Store with PowerShell and JavaScript

This post covers a different problem than How to Update Term Store Values with REST API, MS Graph, JavaScript, and PnPjs — that post covers editing the terms themselves (renaming, restructuring the taxonomy). This one is about the far more common task: tagging a list item with an existing term through a Managed Metadata column,

SharePoint Term Store with PowerShell and JavaScript Read More »