Home

KQL and custom properties

%3CLINGO-SUB%20id%3D%22lingo-sub-1360268%22%20slang%3D%22en-US%22%3EKQL%20and%20custom%20properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1360268%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20to%20be%20pointed%20in%20the%20proper%20direction%20with%20being%20able%20to%20filter%20news%20results%20by%20a%20custom%20field.%20I've%20added%20a%20custom%20property%20to%20a%20pages%20library%20and%20would%20like%20to%20be%20able%20to%20filter%20by%20that%20custom%20property.%20I%20could%20not%20find%20how%20to%20filter%20by%20that%20property%20to%20KQL.%20Perhaps%20there%20is%20another%20way%20to%20do%20this%20and%20I%20am%20looking%20to%20just%20be%20able%20to%20filter%20to%20custom%20fields%2Fcolumns%2Fproperties.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efor%20example%20the%20custom%20property%20would%20be%20League%20with%20options%20for%20major%20sports%20leagues.%20The%20query%20I%20am%20trying%20is%20the%20following%20on%20a%20highlighted%20content%20web%20part%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Efiletype%3Aaspx%0ALeague%3Anhl%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20pointers%20here%20will%20be%20greatly%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1360268%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1360961%22%20slang%3D%22en-US%22%3ERe%3A%20KQL%20and%20custom%20properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1360961%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F654966%22%20target%3D%22_blank%22%3E%40sportsfanatic%3C%2FA%3E%26nbsp%3BIt%20is%20likely%20your%20column%20is%20not%20filterable.%20You'll%20want%20to%20look%20at%20the%20managed%20properties%20for%20your%20column.%20For%20more%20information%2C%20check%20out%20the%20Managed%20Properties%20Documentation%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fmanage-search-schema%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fmanage-search-schema%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1386348%22%20slang%3D%22en-US%22%3ERe%3A%20KQL%20and%20custom%20properties%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1386348%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F76729%22%20target%3D%22_blank%22%3E%40Beau%20Cameron%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThanks%20for%20the%20tip.%20I%20am%20trying%20to%20figure%20this%20out%20now.%20I%20am%20not%20an%20admin%20and%20probably%20the%20only%20user%20on%20the%20company%20intranet%20asking%20for%20specific%20features.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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.

2 Replies
Highlighted

@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

Highlighted

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.