youtube image
From YouTube: SharePoint Framework Design Patterns – Custom Web Part Properties (Part 3)

Description

In this 13-minute developer-focused demo regarding web part properties and property panes, Hugo Bernier explains that having a configurable property pane allows you to go from a single-use to a multi-use component with many variations while using same code! The Quick links web part for example can look very different by changing layout properties - just rendering differences. Demo focuses on modifications to the getPropertyPaneConfiguration( ) method that contains pages, groups and fields. This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on January 13, 2021.

Demo Presenter: Hugo Bernier (Microsoft) | @bernierh

Supporting materials:
• Documentation - Use the Quick Links web part | https://support.microsoft.com/office/use-the-quick-links-web-part-e1df7561-209d-4362-96d4-469f85ab2a82#:~:text=Add%20the%20Quick%20links%20web%20part%201%20If,button%20to%20set%20your%20options%3A%20More%20items...%20
• Documentation - Make your SharePoint client-side web part configurable | https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/basics/integrate-with-property-pane
• Documentation - Integrate web part properties with SharePoint |
https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/guidance/integrate-web-part-properties-with-sharepoint

Previous demos from Hugo Bernier (Microsoft) | @bernierh, on SPFx Design Patterns series
• SPFx Design Patterns – Custom Properties (Part 2) – 30 December
• SPFx Design Patterns – Custom Properties (Part 1) – 4 November
• SPFx Design Patterns – Property Panes - 21 October

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