The other day a user asked me why a document was appearing in Delve with a title different than the actual name the user had given when uploading it.
My answer surprised them. If you’ve been around the SharePoint space for awhile you’re likely already aware of these rules but it’s a good idea to share these with users throughout your organization so they can control the title if they need/want to. In my opinion, these rules are certainly not obvious and may cause confusion for some users if they’re looking for a document by its title in Search or Delve and can’t find it.
Whether in Office 365 or in an on-premises SharePoint environment there are a prioritized set of rules to determine what value is displayed as the title in both traditional enterprise search results and, if in Office 365, Delve. The first value it finds in priority order is the one it uses. You can adjust the priority order of the rules in the search schema, however out-of-the-box this is what is defined from highest to lowest priority for common types of content.
- Text that has had the ‘Title’ or ‘Heading 1’ style applied to it. ** see below
- Text that has had a large font used on it may supersede item 1. ** see below
- The title property filled in the metadata for the document.
- The filename of the document.
- Title from the ‘Title Layout’ slide. ** see below
- Title from the first slide. ** see below
- Text that has a large font used on it may supersede item 1 and 2. ** see below
- The title property filled in the metadata for the PowerPoint.
- The filename of the PowerPoint.
- The title property filled in the metadata for the Excel workbook.
- The filename of the Excel workbook.
OneNote notebook page:
- Notebook and section name
- The title property from within the PDF document if there is one. (If you are scanning in content to a PDF a title property is often automatically filled in)
- The title property filled in the metadata for the PDF.
** this value is stored in the MetadataExtractorTitle crawled property
If you want to change the priority order of the above rules, you can do this in the 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).
Before doing this, know that one of the reasons the MetadataExtractorTitle crawled property was added to the title managed property mapping in the first place (as of SharePoint 2013) was to infer a good title in case a Title metadata property was not added to a document (which many times it isn’t). Due to this, the MetadataExtractorTitle is often a very good candidate for a title.
It’s up to you to decide how/if to adjust the title managed property mapping to display the best possible title for your organization’s content.
Thanks for reading.
Many thanks for the suggestions, I will try to take advantage of it.
Thanks for the post! very interesting 🙂
I am having issues with PDF files. When I load a PDF into SharePoint Online the title field is not filled out at all, this is left blank. I am wondering if something needs to be setup in order to get the title field automatically set from the title in the PDF Document.
It’s been a while since I’ve looked at this, however I think the Name property is used for PDF documents if nothing is filled in on the internal Title property on a PDF document as far as search goes. The Title property within a PDF document will take priority over the Title property set on the document library in SharePoint. I think that’s the default behaviour – I would have to test a specific example to disprove that, but I believe that’s how it works. Are you saying that’s not the behaviour you’re seeing?
Thanks for leaving this here for everyone. It is super helpful for a conversation I’m having today. One question for you. I know that Office document Quick Parts, Office application properties panel, & File properties come into play as well. I’m not sure about the order of precedent though. Do you know which order these fall into?
Hi Richard, I’m sorry… I don’t know about any precedence on those.
Joanne – thank you – this helps enormously – been chasing my tail on this issue for three days!
Awesome!!! So happy you found it and it helped!
I appreciate that the MetadataExtractorTitle works for Word and Powerpoint files however can you give advice on how I can reverse the order of priority for Excel documents? The title property is often missing, however there is always a file name. I’m getting many excel spreadsheets coming up with an blank title in my file drive search results. Thanks for any advice!