Question

I'm setting up several aggregators on a SharePoint Online site collection page that surface documents of the same content types from different document libraries onto a single page.

So far the Highlighted Content web part has been hit or miss, at best, so I tried using the PnP Modern Search web parts and they don't work any better.

For 2 content types using the query:

ContentType:"[content type name]

Works fine.

For every other content type it brings up no results.

I can find no difference between the content types. I've even created more content types using the same structure as the others and they aren't getting picked up by either the HCWP or the PnP-SRWP

How do I get these content types to show up?

No correct solution

OTHER TIPS

How long have you created new content types? Make sure you have waited 24 hours to make these documents to be crawled for search.

Make sure the documents you want to return with the correct content types.

You could also provide some screenshots with us to understand your issue more correctly.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top