Forum Discussion
Toby958
Jun 24, 2020Copper Contributor
Using SharePoint's search bar to search for metadata tags?
I might be mistaken, but I'm fairly sure when I've used SharePoint in the past, the search bar can be used not only to find document titles, but to search for metadata tags also. I've noticed that this doesn't seem to work (any more?).
Does anyone know if this is something that can be enabled? It somewhat defeats the purpose of the search bar if tags can't be used, since we have a number of teams who have began utilising tags to improve the searchability of documents.
Thanks
- Vertebre85Iron Contributor
Quite old topic. Search in Sharepoint can be really complex.
Tip If you create site column within the sharepoint site, it's easier to search than to create "library" column.
When columns are created you can play with the search schema to add your column in the search result.
For example, i've created a managed property in the admin GUI that refer to several site columns from different sharepoint sites.
Using the aliases i can search then ONLY for the metadata and not in the content or file name.
It's working on the main sharepoint page but also on a site or library level.
- Paul de JongIron Contributor
Toby958
Do you mean tags as in SharePoint tags and notes (https://support.microsoft.com/en-us/office/sharepoint-tags-notes-feature-retired-77851bd5-6d5e-42fe-9bf6-d7c17eeb771f) or SharePoint metadata columns?
I just tested it for one of our customers where they extract comments from drawings (e.g. pump number) and make them searchable via the search bar by placing them into SharePoint columns. That still works fine as expected.Paul
- Toby958Copper Contributor
Hi Paul de Jong
This is with regards to SharePoint custom columns on a document library, like below. Maybe I'm using the wrong terminology but we typically call these metadata tags.
Our users want to be able to use the 'search this site' bar at the top of the screen to search for these specific tags, such as typing in "risk" and it showing all documents tagged with that. As mentioned before I recall this working fine when I first noticed it a year or so ago, but now when we try this we just see no results.
- Paul de JongIron Contributor
Toby958
Clear, we are talking about the same fields.
To investigate further I would start with:
- check if you can search for words in the document title
- check if you can search for words in the body of the document
- are the columns of a special type?
The search bar works fine with custom columns in my tenant so the problem does not affect all tenants.Paul