Apr 20 2021 01:17 PM
Apr 20 2021 01:17 PM
Would someone please be able to explain why I can't get the "Highlighted Content" web part to accurately filter and display files based on the custom fields I've picked?
Context: I have a library of PowerPoint files sitting in my department's SharePoint site (we'll call it "Site A") that I want to share on our Sales department's SharePoint site ("Site B"). This setup will allow me to update the files regularly, while only giving the sales staff READ permissions.
In Site A's document library, I've added two custom fields:
Both fields have been indexed.
On Site B, I've created a page that is supposed to use the "highlighted contents" web part to display the PowerPoint files from Site A. While displaying the files was easy enough, using the "Managed Properties" to filter based on those custom properties has not been.
Here are the problems I've come across when using the custom fields as filters:
I will note that if the "Highlighted Content" web part works as expected on Site A (where I did my initial tests). So I suspect that I don't fully understand how the "Managed Properties" works and need to know if I'm barking up the wrong tree.
Apr 20 2021 02:34 PMSolution
I've found a recent article on the SharePoint Maven website - Crawled versus Managed Properties in SharePoint Online that I think might help you.
Upshot of things is that when you have created your custom column, that becomes a crawled property, but you need to map that to a managed property so that you can use with the Highlighted content web part.
Jul 29 2021 07:15 AM
Jul 29 2021 03:01 PM
I would recommend that you set up content types in the Content type gallery that you'll find in the Content Services part of SharePoint Admin centre.
In the process of setting up your content types you'll create custom columns that can be used across all your SharePoint site collections.
For more info see Microsoft Docs Create or customise a content type
The SharePoint Maven site also has a great article with pictures - How to make the Content Types available on all SharePoint Sites via the Content Type Gallery
I hope this helps.