SharePoint 2013 Search — Create new managed property

In this tuto­r­i­al I will explain how to cre­ate a Man­aged Prop­er­ty. Once cre­at­ed you can uti­lize them in search as refin­ers, search prop­er­ties and more.

Let’s say i want to cre­ate a man­aged prop­er­ty from a list col­umn called: Events & Jour­nals

#Step 1
Because the col­umn name has a & sign in the name i will first have to deter­mine the sys­tem name of this col­umn.
To do that go to the list set­tings and edit the desired col­umn. In the URL you can see what the inter­nal sys­tem name for this col­umn is. In our case it is: Events_x0020_journals.

Lookup Column name

 

#Step 2

Open up Share­Point Cen­tral Admin and go to the Man­age ser­vice appli­ca­tions page.

Go to Manage service applications

 

#Step 3

Open the Search Ser­vice Appli­ca­tion page

Open search service application

 

#Step 4

Man­aged prop­er­ties can be found in the Search Schema sec­tion

Search Schema section

 

#Step 5

First lookup the name for the list col­umn. This will have the pre­fix of ows_
Click on Crawled Prop­er­ties then enter the name (or a part of the name) of the col­umn and hit Enter. You can see that the col­umn is found and that the name is: ows_Events_x0020_Journals. 

Click­ing on Man­aged Prop­er­ties will take you to the screen where you can cre­ate a new one.

Lookup the proper tie name

 

#Step 6

Click on New Man­aged Prop­er­ty

Click new managed property

 

#Step 7

Enter a name for the new prop­er­ty, select the type and check the box­es for the main char­ac­ter­is­tics.

New managed property

 

Read the text next to the check­box­es to help you decide if you need that func­tion­al­i­ty.

#Step 8

Scroll down to Map­pings to add a map­ping to for this new prop­er­ty.

New mapping

 

#Step 9

First enter the col­umn name we found in step 1, then click find. Select the right prop­er­ty and hit OK.

Select crawled property

 

 

This will cre­ate the new Man­aged Prop­er­ty

#Step 10

Type the name in the Fil­ter field and hit Enter to check if the prop­er­ty exists.

Check for existence

 

#Step 11

To wrap things up you will have to start a full crawl before the new Man­aged Prop­er­ty is avail­able. Goto the Con­tent Sources and click on Start Full Crawl in the drop down menu for the con­tent source where you want to use the new Man­aged Prop­er­ty.

 

#That’s it.

Hap­py search­ing.

 

In this post you can read how to uti­lize the Man­aged prop­er­ty in the advanced search page.

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 web­part

Edit-the-webpart

 

Step 4

Open the builder win­dow to edit prop­er­ties

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

 

Step 5

Once in the builder win­dow, select all con­tents by hit­ting 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 Visu­al Stu­dio (or any oth­er edi­tor) and cre­ate a new XML file.

We are not going to save this file but past­ing it into visu­al stu­dio for­mats the text so it is out­lined prop­er­ly.

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

 

Step 7

Remove the default head­er. (CTRL-A and DEL)

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

 

Step 8

And paste the XML from the web­part

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

Looks much bet­ter doesn’t it?

Step 9

First we’ll cre­ate a new Result­Type

Select the “Doc­u­ments” Result­Type. Copy and past it at the end of the Result­Types sec­tion.

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

 

Step 10

Rename “Doc­u­ments”. In this case we are going to use “Man­u­scripts”

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

 

Step 11

Next we’ll cre­ate a new prop­er­ty def­i­n­i­tion

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

 

Step 12

Add the new Prop­er­ty Def­i­n­i­tion to the new Result­Type

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

 

Step 13

Copy all text and paste it back into the Builder win­dow in Share­Point

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 Web­part and save the page.

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

Don’t for­get to check in and pub­lish the page.

Et voila!

Et-voila-