Forum Discussion
sportsfanatic
May 05, 2020Copper Contributor
KQL and custom properties
Hello,
I am looking to be pointed in the proper direction with being able to filter news results by a custom field. I've added a custom property to a pages library and would like to be able to filter by that custom property. I could not find how to filter by that property to KQL. Perhaps there is another way to do this and I am looking to just be able to filter to custom fields/columns/properties.
for example the custom property would be League with options for major sports leagues. The query I am trying is the following on a highlighted content web part:
filetype:aspx
League:nhl
Any pointers here will be greatly appreciated.
- Beau CameronCopper Contributor
sportsfanatic It is likely your column is not filterable. You'll want to look at the managed properties for your column. For more information, check out the Managed Properties Documentation https://docs.microsoft.com/en-us/sharepoint/manage-search-schema
- sportsfanaticCopper Contributor
Hi Beau Cameron ,
Thanks for the tip. I am trying to figure this out now. I am not an admin and probably the only user on the company intranet asking for specific features.
- simesyCopper Contributor
I'm in the same boat. I signed up to the MS developer program and got my own dev tenant. This means I can double check what I need done, and then give specific instructions our service desk.