How to Customize Search Result Types in MS SharePoint 2013 ?
In SharePoint 2013, when there is a huge list of search results, it becomes quite tedious for users to identify & preview various items from the list.
In order to ease this situation for the users, you can create & configure customized search result types to allow users distinguish and preview different items available under a given list.
In this blog post, we will understand the procedure of creating & configuring custom search result types.
What is a Search Result Type?
It is basically the rule in SharePoint that allows multiple search results to be displayed for the users in multiple ways or formats.
Following are essentially included as part of every search result type –
- Single or multiple characteristics or conditions for making comparison of available search results
- A display template deployed for search results complying with the pre-set conditions
Deploying Default Result Types for Creating Custom Result Types…
In SharePoint 2013, the search system deploys preconfigured result types by default. All such results are available for view on the Manage Result Types page.
So, if there is a default result type with name “Person” and “Local People Results” is the result source, then the result needs to be displayed by using the People Item display template.
In the search result, this template provides following two crucial pieces of information –
If you are the site owner or site collection administrator, you can deploy default result types as the initial points for custom result type creation.
In order to customize a default result type like “Microsoft Excel result” so that users can also identify Excel search results in form of sales reports, follow steps given below –
- Copy the result type
- Customize the result type so that it includes the condition stating “ContentType managed property value is Sales Report”
How to Create & Configure Custom Search Result Type for a Site…
1. Navigate to “Manage Result Types” page by following the path Settings > Site settings.
Next, click “Result Types” in the Search section.
2. On the Manage Result Types page, Click “New Result Type”
Select a result type from the existing result types and click “Copy”
3. Go to Add Result Type page and do following –
- In “General Information” section, type a new result type name in “Give it a name” text box
- Next, in “Conditions” section, select the appropriate result source (either Source or Documents) from drop-down list “Which source should results match?”
- Finally, in “Actions” section, select a display template (either PDF Item or Office Document Item) from drop-down list “What should these results look like?”
Want more tips on optimizing your SharePoint experience? Do check out our other posts on the blog.
- Microsoft Sharepoint2018.03.30How to Select the Best between SharePoint Server and SharePoint Online
- SharePoint Hosting2018.03.22Avoid SharePoint Compliance Risk by implementing a Robust Information Governance Plan
- Dedicated Hosting2018.03.20Guide to Selecting the Best between Office 365 Hosting and Hosted Exchange
- QuickBooks2018.03.07Boost Up Your Accounting Performance with Managed QuickBooks Support Services