youtube image
From YouTube: Enabling any control to be used in the SPFx property pane with a custom solution

Description

In this 18-minute developer-focused demo, Christophe Humbert shows makes it very clear just how you can add any control - HTML, MGT, Northstar, PnP to the Property pane. Get the lay-of-the-land with a Property Pane Portal Architecture drawing. See how controls from library are called into a web part and how the control’s properties are configured in the Property Pane. Install npm property pane host and portal. Create portal - ReactDOM.createPortal(child, container). Push child (control) to container (Property pane). This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on April 7, 2022.

Demo Presenter
• Christophe Humbert | @Path2SharePoint

Supporting materials
• Tool - NPM packages (property-pane-portal, property-pane-wrap) | https://www.npmjs.com/~pathtosharepoint
• Sample - Property Pane Portal PnP Controls | https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-ppp-pnp-controls
• Library - @fluentui/react-northstar | aka.ms/fluent-ui
• Controls - Reusable React controls for your SharePoint Framework solutions |
aka.ms/pnp-react-controls
• Tools - Microsoft Graph Toolkit Playground | https://mgt.dev

Learn more
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp/videos