3

For SharePoint online environment, I need to search the content with links content type for my site.

As per my requirement, I have created separate display template for links content type. In side the display template, I want to hyperlink the link to title i.e. when i search of "Paycheck", I should be ale to see the entry with link to "https://xxxxxxx.adp...."

enter image description here

On search results page, I am able to get the display template code working but somehow unable to get the column url value. I am trying to use "URLOWSURLH" parameter but its giving null.

Also "URLOWSURLH" show correct value when used to query using rest api.

2

It seems, MS have recently made changes to the managed metadata property. Check if the URLOWSURLH managed property has set correct mapped crawled property ows_q_URLH_URL. enter image description here

This resolved my problem (fyi, wait for few minutes for crawl to complete.You can also re index site)

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.