SharePoint 2013 Search – Create new managed property

In this tutorial I will explain how to create a Managed Property. Once created you can utilize them in search as refiners, search properties and more.

Let’s say i want to create a managed property from a list column called: Events & Journals

#Step 1
Because the column name has a & sign in the name i will first have to determine the system name of this column.
To do that go to the list settings and edit the desired column. In the URL you can see what the internal system name for this column is. In our case it is: Events_x0020_journals.

Lookup Column name

 

#Step 2

Open up SharePoint Central Admin and go to the Manage service applications page.

Go to Manage service applications

 

#Step 3

Open the Search Service Application page

Open search service application

 

#Step 4

Managed properties can be found in the Search Schema section

Search Schema section

 

#Step 5

First lookup the name for the list column. This will have the prefix of ows_
Click on Crawled Properties then enter the name (or a part of the name) of the column and hit Enter. You can see that the column is found and that the name is: ows_Events_x0020_Journals. 

Clicking on Managed Properties will take you to the screen where you can create a new one.

Lookup the proper tie name

 

#Step 6

Click on New Managed Property

Click new managed property

 

#Step 7

Enter a name for the new property, select the type and check the boxes for the main characteristics.

New managed property

 

Read the text next to the checkboxes to help you decide if you need that functionality.

#Step 8

Scroll down to Mappings to add a mapping to for this new property.

New mapping

 

#Step 9

First enter the column name we found in step 1, then click find. Select the right property and hit OK.

Select crawled property

 

 

This will create the new Managed Property

#Step 10

Type the name in the Filter field and hit Enter to check if the property exists.

Check for existence

 

#Step 11

To wrap things up you will have to start a full crawl before the new Managed Property is available. Goto the Content Sources and click on Start Full Crawl in the drop down menu for the content source where you want to use the new Managed Property.

 

#That’s it.

Happy searching.

 

In this post you can read how to utilize the Managed property 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 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-

Workflow will not start. The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service.

Problem:

A workflow that is created with SharePoint Designer cannot be started.
The following error appears:

Error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

Reason:

The startscreen for the workflow, which is actually an InfoPath form, cannot be displayed. This is because the State Service is not installed or is not active.

Resloution:

Start a SharePoint 2013 Management Shell session and enter these commands to setup a State Service.
$ss = New-SPStateServiceApplication -Name "State Service"
New-SPStateServiceDatabase -Name "WSS_StateService" -ServiceApplication $ss
New-SPStateServiceApplicationProxy -Name "State Service Proxy" -ServiceApplication $ss –DefaultProxyGroup