Staffbase PnP Modern Search Extensibility Library allows you to search for Staffbase News in SharePoint with the help of PnP Modern Search web part. Learn more about it here. The Staffbase PnP Modern Search Extensibility Library is an extension that you need to configure.
In This Article
Learn to configure the Staffbase PnP Modern Extensibility Library with the following steps:
- Download the PnP Modern Search web part
- Install the Staffbase PnP Modern Search Extensibility Library extension
- Add PnP Search Results web part to a page
- Configure PnP Search Results web part to add Staffbase News
- Configure PnP Search Results web part with Staffbase News
Prerequisites
- You have received the Staffbase PnP Modern Search Extensibility Library extension package from your Customer Success Manager. Contact your Customer Success Manager to receive the package.
- You have configured single sign-on (SSO)to authenticate your users between Staffbase and SharePoint using Azure Active Directory.
- You have the following options for your Microsoft SharePoint Online:
- SharePoint environment configured with an app catalog.
- A site collection in your SharePoint with edit permissions.
Staffbase recommends using a communication site in SharePoint.
- Contribute permissions on the tenant site collection app catalog.
- Modern pages on your SharePoint.
- Installed PnP Modern Search web part to the app catalog.
Downloading the PnP Modern Search Web Part
You need to download the following PnP Modern Search web part.
- Go to GitHub PnP Search Webpart page.
- Under Assets, download the .sppkg file.
Installing Staffbase PnP Modern Search Extensibility Library
Prerequisite
- You have installed and configured the PnP Modern Search web part to the SharePoint site to which you want to configure Staffbase PnP Modern Search Extensibility Library.
- Navigate to SharePoint admin center > More features.
The More features page opens. - Under Apps, click Open.
- Navigate to App Catalog > Apps for SharePoint.
- Click Upload and select the Staffbase PnP Modern Search Extensibility Library file.
- Click OK.
The confirmation dialog to deploy opens. - Select the checkbox for Make this solution available to all sites in the organization.
- Click Deploy.
Adding PnP Search Results Web Part
Prerequisites:
- You have the role of a SharePoint site member or higher with permission to add a web part.
- You have installed Staffbase PnP Modern Search Extensibility Library to a SharePoint site.
- Navigate to any page in the SharePoint site on which you installed Staffbase PnP Modern Search Extensibility Library.
- Click Edit at the top right of the page.
- Hover your mouse over the page.
The + icon to add a new web part opens. - Click the + icon.
A dialog with the available web parts opens. - Search for and select PnP Search Results.
For optimal viewing, Staffbase recommends adding the web part to one column section.The configure dialog opens.
You have added the PnP Search Results to a page. Now you can configure the web part to add Staffbase News.
Configuring PnP Search Results Web Part to Add Staffbase News
You can now configure the PnP Search Results web part to add Staffbase News.
- In the configure dialog that opens after adding PnP Search Results Web Part, click Configure.
The PnP - Search Results dialog opens. - Click Next.
- Under Extensibility configuration, click Configure.
The dialog to configure extensibility libraries opens. -
In the Name/ Purpose field, enter Staffbase News.
-
In the Manifest GUID field, enter 3b164641-fa65-4279-9cce-c8981bb32f03
-
Turn the toggle On for Enabled/Disabled.
-
Click Add and save.
-
Click Save to save the page.
You have configured the PnP Search Results web part to add Staffbase News.
Configuring PnP Search Results Web Part With Staffbase News
Now you can configure the PnP Search Results web part with Staffbase News as the data source.
- Navigate to the page in the SharePoint site on which you previously configured the PnP Search Results web part.
- Click Edit at the top right of the page.
- Click Edit for the PnP Search Results web part you previously added.
The PnP - Search Results dialog opens.
- Select Staffbase News.
- In the Staffbase web-app URL field, provide your Staffbase web app URL.
- Click Next.
- Select Staffbase news cards as the layout.
- Click Save to save the page.
You have saved the page and successfully configured PnP Search Results Web Part with Staffbase News. You can see Staffbase News displayed in the configured web part.
Comments
0 comments
Please sign in to leave a comment.