In my SharePoint 2013 environment, I am trying to display a value in my custom search results from a column in my SharePoint list.
I am working on a customized 'Default Item' search template in SharePoint Designer, to display the custom search results.
I did the following steps:
- Created a Custom SharePoint List in a subsite, added dummy data to the list
- Ran the Full Search crawl in the Central Admin so that the data I added could be indexed or crawled.
Here, I want the value in the search result to be coming from this PostURL column in the list:
Then I went to the Managed property in my Site Collection Administration (as I know the a managed property needs to be created for a column in order to be displayed in search result) as shown in the attached screenshot below
- In the managed property, I searched for the column name 'PostUrl' from my custom list as I wanted the data from this column to be displayed in the search result the and could not find it (looks like SharePoint doesn't automatically convert the list column to a managed property)
- I then manually created a Managed Property against my column as shown below:
The column name is prefixed with ows_PostURL under the 'Mapped Crawled Properties'
I then went back to my SharePoint designer, and added the Property Name 'PostURL' in the ManagedPropertyMapping section as shown in the screenshot below:
And then I updated the Div tag in the search template to have the Managed Property name like so so it could appear in the search result.
For some reason, the value from that SharePoint column 'PostURL' is not appearing in my search result even after I created a managed property for that column.
Am I missing something here? Please advise.
Thank you.
Title
&Description
columns ? Also have you triedRe-index
the list?