Description:
This procedure provides enough information to
create Birthdate and Hiredate
as
managed properties in sharepoint search schema
for the What’s Up webpart.
Current procedure assumes that
search service application has been configured and user properties Birthday and Hiredate are populated in the user’s profile
Related Image:
Recommended image dimensions: 1470 x 256 pixels
Table of contents:
1.How to create a new/custom Managed Property in Sharepoint Search
2.How to map crawl properties to managed properties
3.Run/schedule a full crawl of the search (Onpremise)
4.Request a Full crawl for sharepoint online site (Office 365)
1.1.
Navigate to the home page of your site
Ensure you are logged in as a Site Collection Administrator
1.2.
Click on the ‘Settings Wheel’ and then ‘Site Settings’
1.3.
Click on ‘Search Schema’ under ‘Site Collection Administration’
1.4.
Verify whether managed property exists
Search for the property and click on the green arrow to ‘apply’ search
1.5.
Create new managed Property by clicking ‘New Managed Property’
(a)
Give a Name for the Property(here Birthday)
(b)
Select Datatype (this will be explained in next section on what to choose)
(c)
Select the main characteristics shown below ,
Allow multiple values is not applicable for birthday and hiredate
(d)
main characteristics (cont..)
Select Safe check box if it is an anonymous site for intranet site , for an intranet site this can left disabled
(e)
Mappings to the crawled property
Select Include content from the first crawled property that is not empty.. and click on Add a Mapping
(f)
Search for the relevant crawled property
Property |
Internal Name |
Birthdate |
People:SPS-Birthday |
HireDate |
People:SPS-HireDate |
(g)
Select the relevant property and click OK
(h)
Finally save the property by selecting Ok
(i)
Verify whether the properties have been added successfully
(j)
Repeat the step 1.5 to add Hiredate and other managed properties
Learn how to map
SPS-Birthday and SPS-Hiredate to Managed Properties refinabledate00, refinabledate01 and refinablestring00, refinablestring01
2.1.
Navigate to
the home page of your site
Ensure you are logged in as a Site Collection Administrator
2.2.
Click on the ‘Settings Wheel’ and then ‘Site Settings’
2.3.
Click on
‘Search Schema’ under
‘Site Collection Administration’
2.4.
Check for the Managed Property
RefinableDate00 and RefinableDate01
Type Refinable in the ‘Managed property’ text box and press enter
2.5.
Add crawled properties to Managed Properties RefinableDate00 and RefinableDate01
Edit RefinableDate00 as shown in the screenshot below
Navigate to the section
Mappings to crawled properties and click on
‘Add a Mapping’
Search for
SPS-Birthday ,select it and click OK
Finally save the Managed property, once added navigate back to the step 1.4 which should look like below screenshot
Repeat the steps shown in 1.7 to add
SPS-Hiredate to RefinableDate01, instead of SPS-Birthday search for SPS-Hiredate and add it to Refinablestring01
2.6.
Check for the Managed Property RefinableString00 and RefinableString01
Type Refinables in Managed property Text box and press enter
2.7.
Add crawled properties to Managed Properties Refinablestring00 and Refinablestring01
Edit Refinablestring00 and click Edit/Map Property
Navigate to the section
Mappings to crawled properties and click on Add a Mapping
Search for SPS-Birthday ,select it and click OK
Finally save the Managed property, once added navigate back to the step 1.6 which should look like below screenshot
Repeat the steps shown in 1.7 to add
SPS-Hiredate to Refinablestring01, instead of SPS-Birthday search for SPS-Hiredate and add it to Refinablestring01
**Please Note Full crawl would consume quite a few resources on sharepoint server and we would recommend running it out of office hours for On premise environment
3.1.
Open
Sharepoint Server on which Central Administration site is enabled
3.2.
Open Central Admin
by selecting ‘Run as administrator’
3.3.
Select
‘Manage
service applications’
3.4.
Check for
Search
Service Application’
Note: Name can be different and hence check for Type
3.5.
Click on the name of ‘Search service application’
3.6.
Click on Content Sources on Left hand navigation
3.7.
To schedule a full crawl
Edit the relevant content source (Proper content source should be selected based on the one used in site collection)
Under the crawl schedules , select Full crawl amd click on Create schedule
Set a schedule to run it at appropriate time
(a)
Open sharepoint site as Site collection administrator
(b)
Navigate to site settings
(c)
Under Search , select Search and offiline availability
(d)
Click on Reindex site
and click ok
It may take few hours depending on crawl schedule