Skip to main content

Add a custom property to SharePoint Search

Complete the following steps to add a new custom property. Once completed you can include your custom property within People Hub.

Adding a new profile property

Navigate to SharePoint Admin Centre > More Features > User Profiles > Manage User Properties

Click on ‘New Property’

New Property

caution

Make sure you complete the following fields, all others are optional and differ for each property and requirement

FieldValue
NameName of your new property. Keep it short
Display NameDisplay name. Can be longer
Policy SettingOptional
Default Privacy SettingEveryone

Click OK

Update User Profile

Add a value to at least 1 user profile via SharePoint User Profiles.

info

We need a profile to have a value in this field for it to be mapped to a property in search. This can take anywhere will 15 minutes to 24 hours for SharePoint to do a search crawl so may have to wait to do some of the following steps.

Search for a user, and click ‘Edit My Profile’

New Property

Create new Managed Property

Navigate to the SharePoint Admin Center > More Features > Search > Manage Search Schema

Click on ‘New Managed Property’

Make sure you fill in the following fields, all others are optional and differ for each property and requirement

FieldValue
Property NameName of your new property. Keep it short
TypeType of information you are gathering, usually Text
SearchableYes
QueryableYes
RetrievableYes

Add a Mapping

New Property

Search for your newly created User Property from step 2.1 and click OK

New Property

tip

If you do not see your value refer to point 2.2

Map existing Managed Property

Navigate to the SharePoint Admin Center > More Features > Search > Manage Search Schema

Search for Refinablestring

New Property

Find an available/empty property that does not have any existing ‘Mapped Crawled Properties’

New Property

Click the black drop down arrow and select Edit/Map Property

New Property

Follow steps of 'add a mapping' to add the same mapping