youtube image
From YouTube: Add Folder Command Extension for easy doc library structure management

Description

In this 15-minute Developer-focused demo, Michaël Maillot steps viewers through a sample SPFx list view command set extension that allows users to create a parallel or nested folder hierarchy simply by typing names of folders into extension pop up and pressing the create folders button. The extension uses Sergei Sergeev’s spfx-fast-serve, React hooks, and ADS for adding folders. Code delivers folder naming error checking and on-screen user guidance. Extension issues, workarounds and improvements are called out. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on February 25, 2021.

Demo Presenter: Michaël Maillot (onepoint) | @michael_maillot

Supporting materials:
• Articles by Michaël Maillot | https://michaelmaillot.github.io/
• Bug - SPFx ListViewCommandSet Extensions are no longer being loaded when switching list context in side navigation! #5704 | https://github.com/SharePoint/sp-dev-docs/issues/5704
• Teams UserVoice - Show SharePoint custom Command Set extensions in Files Tab | https://microsoftteams.uservoice.com/forums/555103-public/suggestions/40152034-show-sharepoint-custom-command-set-extensions-in-f
• Repo - Add Folders Command | https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/react-command-addfolders
• Post - SharePoint Framework fast serve now supports library components | https://spblog.net/post/2020/06/18/sharepoint-framework-fast-serve-now-supports-library-components
• Office Support - Invalid file names and file types in OneDrive and SharePoint | https://support.microsoft.com/en-us/office/invalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa

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