I am trying to configure the search result in SharePoint Online. We have a huge document library, with custom columns to modify the properties on a daily basis. The search is returning only the attachments not the Item DispForm to navigate and modify the properties.

I want to configure the result page to show only Displayform.

Please assist.

Thank you




By default SharePoint use Best Bet display templates for search result. This means, based on the parent content type, SharePoint will bind it to item or document display template. But, in search result, the item display template will point to item display form, while document will point to the document open/download url.

To change the link to document display form, you need to create a custom display template. Read more on custom display templates here. Instead of using the document path manage property, use a combination of ListUrl and ListItemId to generate the URL manually.

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.