Feb 19 2019 08:09 AM
I want to enable a result type in the search result for a specific site collection. The result type will only search aspx files only. The current out of the box WebPage option brings a lot of results.
How do i achieve that?
The page is : /_layouts/15/osssearchresults.aspx for the site collection.
Feb 19 2019 08:20 AM - edited Feb 19 2019 08:27 AM
You could just edit your query to only return *.aspx - by far your simplest option
Otherwise, the documentation for adding search result types in the SharePoint Online classic search experience: https://docs.microsoft.com/en-us/sharepoint/manage-result-types
or for on-prem: https://docs.microsoft.com/en-us/sharepoint/search/customize-search-result-types