1

I Customize Display Template for Content By Search result Web Part. Then, Add a reference to your custom managed property in the display template to the ManagedPropertyMapping attribute.

But, when I Create a placeholder in the body of the Item display template for the managed property using syntax like:

ctx.CurrentItem.MyManagedProperty

ctx command return null, because regular columns will not automatically become managed properties when they are crawled.

How regular columns (not Site columns) become managed properties?

1

These columns need to be mapped from crawled properties (the on that the search have found) to the managed properties. This mapping won't me made automatically.

How this mapping can be done and what the difference between mapped and crawled properties is can be found here:

The search schema in SharePoint 2013

Manage search schema in SharePoint 2013

You will find a complete list of managed and crawled properties that have been preconfigured: Crawled and managed properties in SharePoint 2013

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.