1

My Custom SharePoint Managed Property is not showing any values when I add it in the design template. The property has values for sure as I did check it using a custom WebPart that ) created using C#.

What things could I check?

3

Resolved Steps:-

  • Go to WebPart Edit it.
  • Go to Display Templates
  • Select Use a single template to display items and select the display template
  • Add your Managed Property in Hit-highlighted properties(JSON)

That's It

|improve this answer|||||
  • 1
    It sounds like you did not define a Result Type for your Display Template. Your result will work, but must be configured on every search result web part. If you create a result type rule it will display every time. – Matthew McDermott May 24 '14 at 11:56
  • I tried most of the steps in all the blogs and finally consolidated the steps that actually worked for me. Follow this for resolution. sharepoint.stackexchange.com/questions/233781/… – Anand Jan 17 '18 at 14:56
1

Have you used property sync.

Go to Site settings --> Search Result Types. Notice that a Property Sync alert is displayed.

More info here: http://blogs.technet.com/b/tothesharepoint/archive/2013/09/17/how-to-display-values-from-custom-managed-properties-in-the-hover-panel-in-sharepoint-server-2013.aspx

|improve this answer|||||
  • Checked. Nothing found there :(. The value is multiline a big string is that a problem? – Varun Verma May 23 '14 at 6:46
0

I tried most of the steps in all the blogs and finally consolidated the steps that actually worked for me. Follow this for resolution

Update: Adding the solution here

Ensure below:

  1. Managed properties are properly mapped to required crawled properties
  2. Do a full crawl
  3. Ensure that the display template (if edited by adding the new managed property) is uploaded and published
  4. Ensure that the "Update" link in the notification bar is clicked in Result types screen (better to check both at spweb and spsite levels)
  5. Clear browser cache

Perform a search now and see if the new MP is coming up. If still they are not showing up, use the Search SearchQueryToolv2.6 to query and find if the Search API is throwing them up. If all seems fine then do below

Final nail in the coffin would be restarting the SP Timer and SP Administration services. (This step made my changes reflect. Though for others, it worked at step 5)

|improve this answer|||||
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Gaurravs Jan 18 '18 at 11:19
  • @Gaurravs it sure is preferred to extend the answer, but in this case the link refers to sharepoint.stackexchange. The link basically can't become invalid unless this site becomes invalid. – moe Jan 18 '18 at 12:19
  • @Moe its always better to include some part of answer which is main key to solution. more details can be found on the link. – Gaurravs Jan 18 '18 at 12:30
  • If solution is already part of the forum previously. then question seems to be duplicated off – Gaurravs Jan 18 '18 at 12:31

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.