Oct 14 2017 04:28 PM
I have a highlighted content web part filtered on a managed property and it is showing all the documents I would expect it to. However for 5 of the documents it is not showing the document file name or title (I have this web part displayed as a list). It is choosing random text in the document to display. For two of the documents is has chosen some text from the footer!
How can I get this web part to always use the title of the document (all the documents have titles) or at the very least the filename?
I have tried deleting the doc and re-uploading with no luck. I have tried copying the content of the doc (it's just one page for all of these docs) to a new doc and then uploading that and still it insists on picking text from the doc to use as the title when displayed in this web part.
Any ideas appreciated!
Nov 14 2017 08:06 AM
Have to tried ensuring there is a title tagged on the document and tried to reindex the document library? (Library settings - Advanced - Reindex document library)
Nov 14 2017 08:38 AM
Nov 14 2017 12:54 PM
Thanks John, I've emailed you with details.
Regards,
Mark
Jan 19 2018 10:12 AM
Hi,
Did you manage to get this fixed? I'm having the same problem.
Thanks
Duane
Jan 21 2018 11:48 AM
Nope - I sent @John Sanders some details but haven't had a resolution.
Feb 06 2018 10:19 AM
SolutionHi, I found this blog that sorts the problem out.
basicly you go to search schema on the title managed property settings and adjust the position of the MetadataExtractorTitle crawled property (or remove that crawled property altogether if you do not want it included).
I deleted it alltogether which fixed the problem.
Feb 06 2018 01:53 PM
Thanks Duane, this looks to be exactly what I am after. I haven't had a chance to make any changes yet but this perfectly explains the situation I had.
Dec 30 2019 08:30 AM
@Duane BerghThanks ! it solved my issue : )
Btw, do u know which crawled prop should I add to the managed property, in order to include the "name" of the listitem ( usually known as "fileleafref" ) thanks!
Feb 06 2018 10:19 AM
SolutionHi, I found this blog that sorts the problem out.
basicly you go to search schema on the title managed property settings and adjust the position of the MetadataExtractorTitle crawled property (or remove that crawled property altogether if you do not want it included).
I deleted it alltogether which fixed the problem.