Tag: JavaScript

Migrating Azure Functions from JSDoc JavaScript to TypeScript
Migrating Azure Functions from JSDoc JavaScript to TypeScript
Blog Posts

I wrote previously about how to implement a dynamic redirect mechanism for Azure Static Web Apps using Azure Functions. I implemented this using JSDoc JavaScript. I’ve since migrated this to TypeScript and I thought it would be interesting to share the process. Why migrate from JSDoc JavaScript to TypeScript?​ As regular readers will know, I’m both… READ MORE

More flexible SPFx development with simple react app
More flexible SPFx development with simple react app
Blog Posts

If You are working on a big project based on SPFx You might have already thought about a way to simplify reusability of Your components and maybe speed up the development process a little bit. SharePoint Framework is a great tool but sadly, it doesn’t scale so well, especially when it comes to sharing functionality… READ MORE

Trigger A SharePoint Workflow From JavaScript
Trigger A SharePoint Workflow From JavaScript
Blog Posts

Intro Sometimes, we get the requirement to start a SharePoint workflow from JavaScript code or have to rerun a work on all existing list items and want to give an easy option to users to trigger a workflow on all items, then this the solution will help you. We’re basically triggering a workflow from JavaScript code… READ MORE

Implement Expand Collapse in SPFx with JavaScript
Implement Expand Collapse in SPFx with JavaScript
Blog Posts

Overview Expand / collapse (aka Accordion) is a very common requirement in SPFx web parts. There are various npm packages available for implementing this. In this article, we will explore implementing expand / collapse functionality in SPFx using plain JavaScript. Although the implementation is with plain JavaScript, it can also be used with React based… READ MORE

Classic SharePoint Add-ins with Office UI Fabric
Classic SharePoint Add-ins with Office UI Fabric
Blog Posts

Office UI Fabric is the new dress for Office add-ins, that perfectly marries with modern SharePoint pages using the SharePoint Framework. Besides providing a set of UI guidelines, font styles, grid layouts and icons, Office UI Fabric adds a rich collection of HTML components ready to use in your Office add-ins & SharePoint pages. Office… READ MORE

SOLID Web Parts with SharePoint Framework
SOLID Web Parts with SharePoint Framework
Blog Posts

The principles of SOLID are guidelines that can be applied to software development to improve legibility and maintainability of software applications. This article by Stefano Tempesta, MCC & MVP, explores best practices and design patterns for developing SharePoint SOLID Web Parts in TypeScript, using the new client-side SharePoint Framework, and improving compliance to the five SOLID… READ MORE