github microsoft-search/pnp-modern-search pnp-template
PnP Provisioning Sample Search Template

latest releases: 4.11.1, 4.11.0, 4.10.2...
3 years ago

Mark8 Project Team with custom search result page

This template illustrates the use of a custom search result page. When searching from the navigation bar search box you are redirected to a custom search result page. The search result page displays items from within the current site using SPFx search result web parts and custom templating.

Mark8 Custom Search

Template content

The template contains the following structures and assets:

  • Custom search results page using PnP Modern Search web parts
    • The template is built using PnP Modern Search v3.14.2. If you have an older version installed of the PnP Modern Search web parts v3 the template might not work.
    • If pnp-modern-search-parts.sppkg is already installed in your tenant, it will not be overwritten.
    • Information about PnP Modern Search.
  • Complex welcome page with out-of-the-box web parts
  • Example images and Office documents

The template source can be found at the PnP SharePoint Provisioning Templates GitHub repository.

Notice - If applied on top of an existing communication site, the welcome page content will be overridden.

Installation

As a SharePoint administrator run the below commands to create a sample site at /sites/CustomSearch. Change the SiteUrl parameter to deploy it at a different URL. The template can also be applied to an existing site.

Connect-PnPOnline -Url https://contoso-admin.sharepoint.com
Apply-PnPTenantTemplate -Path .\modern-search-sample.pnp -Parameters @{"SiteUrl"="/sites/CustomSearch"}

Don't miss a new pnp-modern-search release

NewReleases is sending notifications on new releases.