How to display custom user field in search result .
This includes two steps field definition and create a managed metadata property.
1. Field Definition
<Field ID=”{AE6EFA2E-DF0E-4EF5-8AB7-309FBC5465B9}”
Group=”My Columns”
Mult=”FALSE”
UserSelectionMode=”0″
Type=”UserMulti” List=”UserInfo”
Name=”helloauthor” DisplayName=”helloauthor”
SourceID=”http://schemas.microsoft.com/sharepoint/v3″
StaticName=”helloauthor”
/>
2. Before creating managed property add some data to the field may be in your
documents library or custom list etc… and then crawl the search , once
your property is propagated then create managed property.
Now re crawl your search and the perform search based on user name.
Advertisements