SharePoint 2013 Search. Add extra result types and properties to the advanced search page

Step 1

First open the advanced search page.
This page can be found at /search/advanced.aspx

First-open-the-advanced-search-page-This-page-can-be-found-at--search-advancedaspx

Step 2

Edit the page

Edit-the-page

Step 3

Edit the webpart

Edit-the-webpart

 

Step 4

Open the builder window to edit properties

Open-the-builder-window-to-edit-properties

 

Step 5

Once in the builder window, select all contents by hitting CTRL-A and copy it with CRTL-C

Once-in-the-builder-window--select-all-contents-by-hitting-CTRL-A-and-copy-it-with-CRTL-C

 

Step 6

Open Visual Studio (or any other editor) and create a new XML file.

We are not going to save this file but pasting it into visual studio formats the text so it is outlined properly.

Open-Visual-Studio--or-any-other-editor--and-create-a-new-XML-file

 

Step 7

Remove the default header. (CTRL-A and DEL)

Remove-the-default-header--CTRL-A-and-DEL-

 

Step 8

And paste the XML from the webpart

And-paste-the-XML-from-the-webpart

Looks much better doesn’t it?

Step 9

First we’ll create a new ResultType

Select the “Documents” ResultType. Copy and past it at the end of the ResultTypes section.

First-we-ll-create-a-new-ResultType

 

Step 10

Rename “Documents”. In this case we are going to use “Manuscripts”

Rename--Documents--In-this-case-we-are-going-to-use--Manuscripts-

 

Step 11

Next we’ll create a new property definition

Next-we-ll-create-a-new-property-definition

 

Step 12

Add the new Property Definition to the new ResultType

Add-the-new-Property-Definition-to-the-new-ResultType

 

Step 13

Copy all text and paste it back into the Builder window in SharePoint

Copy-all-text-and-paste-it-back-into-the-Builder-window-in-SharePoint

And click OK

Step 14

Click OK to save the changes to the Webpart and save the page.

Click-OK-to-save-the-changes-to-the-Webpart-and-save-the-page

Don’t forget to check in and publish the page.

Et voila!

Et-voila-