This SharePoint search tutorial explains, what are managed property in SharePoint Online or SharePoint 2013/2016. How to create a managed property in search in SharePoint Online or SharePoint 2013/2016.
Managed properties are useful in Search in SharePoint Online or SharePoint 2013/2016. Managed properties determine how the content will be shown in the search results. The search schema contains the attributes on managed properties and the mapping between crawled properties and managed properties.
There is a lot of default managed properties available in SharePoint 2013 online like AboutMe, AccountName, AttachmentType, Author, etc.
But apart from this, you can also create new managed properties both in SharePoint online as well as on-premise.
You can be able to add managed properties in the tenant as well as in SharePoint site collection also. But the problem in SharePoint online is that the property can only be of type Text or Yes/No type.
Now, we will see how to create a managed property in SharePoint Online.
To add a managed property in the tenant, go to the Office 365 admin center. Then Admin and then click on SharePoint from the left side.
This will open the SharePoint admin center page. Here click on search from the left side. This will open the search administration page. Here click on Manage Search Schema as shown in the fig below:
This will open the Managed Properties page, where you can add new managed property.
If you want to add a managed property for a particular site collection, then go to the Site Settings page. Then click on “Search Schema” under the Site Collection Administration section.
In the Managed Properties page, click on “New Managed Property” link.
Then you can give a Name (do not give any space between words), Description and in the Type, you can only see Text and Yes/No is active other types are greyed out. So you have to select a type from these two. You can do other settings as per requirement.
But then go to the Mappings to crawled properties section. Here you can select which are the crawled properties this managed property can its contents. This is very much important. Here click on Add a Mapping. This will open the “crawled property selection” dialog box where you can select the crawled properties.
Here I have added two crawled properties (people:AboutMe and people:FirstName) like below:
Then click on OK.
This property will be available only after the content has been re-crawled according to the scheduled. After that, you will be able to see the property.
You may like the following SharePoint tutorials:
- Reset List Item ID in SharePoint 2013/2016/Online
- How to disable quick edit in SharePoint list
- SharePoint Find an Item List search box does not return results
- How to Change Layout of a Page in SharePoint 2013
- How to use SharePoint Alert Me feature in list or library
- Show total count of items in SharePoint 2013 list
Here, we will discuss what are managed property in SharePoint search, how to create a managed property in SharePoint Online or SharePoint 2013/2016.
Bhawana Rathore is a Microsoft MVP (3 times in Office Apps & Services) and a passionate SharePoint Consultant, having around 10 years of IT experience in the industry, as well as in .Net technologies. She likes to share her technical expertise in EnjoySharePoint.com and SPGuides.com