Using SharePoint Framework to embed JS and CSS to modern pages

Опубликовано: 04 Октябрь 2024
на канале: Microsoft Community Learning
20,488
111

For this 14-minute developer focused demo, Siddharth Vaghasia introduces viewers to a React-based SPFx web part and extension that allows Admins to add/modify/delete references to custom .js and .css scripts for Modern pages within a SP online site using the SPFx application customizer extension. Paste a link to a script in the webpart and then activate - update the application customizer extension - userCustomActions behind the scenes to modify page. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) call recorded June 18, 2020.

Demo Presenter: Siddharth Vaghasia (Tata Consultancy Services) | @siddh_me

Supporting materials:
• SPFx webpart to add JS and CSS reference on Modern Pages via SPFx application customizer extension | https://github.com/pnp/sp-dev-fx-webp...
• Deploy your extension to SharePoint | https://docs.microsoft.com/en-us/shar...

Resources:
• Learn more about the SharePoint developer community at: http://aka.ms/m365pnp
• Visit the SharePoint PnP Developer Community YouTube channel: https://aka.ms/spdev-videos