Open in gallery
This sample is best viewed in the interactive gallery. Open now ยท Stay on this page

Modern Page Model with PnP/PnPjs

Modern Page Model with PnP/PnPjs

A SPFx extension using @pnp/sp that allow creating Modern Pages based on prefilled modern pages marked as “Page Model”, inside the Site Pages Library, and code defined pages. Users can select a Modern page as Model just setting a custom property page named “Is Model” to “Yes”. People often need to create periodically editorial pages with the same composition, sections structure and webpart configuration, in order to give users the same users experience between pages with different contents but with the same communicative purpose

Open this sample in the gallery (popup panel): Open in gallery

Source: https://github.com/pnp/sp-dev-fx-extensions/tree/main/samples/react-command-page-model-pnpjs