When displaying Search results page, I’d like to display the filename as the hyperlink title for PDF documents.
I have created a custom search results page and will need find out why some PDFs display a descriptive text while others display (untitled) as the hyperlink.
Depending on the display template that is used to render the results, it could be loading from Highlighted properties, or could be just that it’s loading the Title column and that column is missing on your item. Hard to say exactly from the outside looking in.
In any case, you have two options. You can try to changed the mapped properties in the search result webpart property pane, or you are able to modify the display templates (if you have some development skills) to show or hide whatever fields you want.
Thanks, Beau.
I did check and Search result page is using the Title column which has a value of “untitled” (or empty) for PDF files.