PDF preview in search results does not work

bhanu chandaluri 1 Reputation point
2022-02-14T10:17:18.923+00:00

In search result, when hovering a pdf result, there is no preview (like there is for Office documents) in Sharepoint2019.

Any alternative solutions.

Thanks in Advance.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,340 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,481 Reputation points
    2022-02-15T07:19:56.6+00:00

    Hi @bhanu chandaluri
    By default, PDF previews are not turned on in the search core results web part. Office Web Apps only supports Office documents such Word, Excel, PowerPoint, ad OneNote, but there is no support to preview other documents such as PDF.

    To enable PDF preview, you could create a custom PDF hover display template or use word hover display template, for more information, you could refer to:
    https://www.maadarani.com/enable-pdf-preview-sharepoint-search-result/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.