youtube image
From YouTube: Building a Copy Views SharePoint Framework Web Part

Description

In this 14-minute developer-focused demo, Martin Lingstuyl delivers a solution that copies views from one list/library to another using either his new web part or extension. Copy columns, sorting, group by, view formatting and filtering. Web part displayed on specific site/page for view management purposes. Extension is a dialog opened by ListView Command set extension on any list/library - tenant wide or site scoped. Code - see component structure and PnPjs copy functionality. Explanation of what’s currently not supported and why. This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on October 20, 2022.

Demo Presenter
• Martin Lingstuyl (I4-YOU) | @martinlingstuyl

Supporting materials
• Sample – react-copy-views | https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-copy-views
• Library – PnPjs - @pnp/sp/views | https://pnp.github.io/pnpjs/sp/views/
• Documentation – DOMParser | https://developer.mozilla.org/docs/Web/API/DOMParser
Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community