News Web Part - filter by Managed Metadata

%3CLINGO-SUB%20id%3D%22lingo-sub-331187%22%20slang%3D%22en-US%22%3ENews%20Web%20Part%20-%20filter%20by%20Managed%20Metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331187%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20added%20a%20Managed%20Metadata%20(with%20allow%20multiple%20choices%20enabled)%20column%20to%20the%20Site%20Pages%20library.%20When%20I%20use%20the%20News%20web%20part%20and%20choose%20the%20Page%20Properties%20filter%2C%20i%20can%20set%20it%20%22Equal%22%20to%20a%20value%2C%20but%20I%20can't%20use%20Contains%20or%20any%20other%20filter%20type.%20This%20prevents%20us%20from%20displaying%20a%20news%20article%20that%20has%20more%20than%20one%20attribute%20selected%20in%20the%20Managed%20Metadata%20column.%3C%2FP%3E%3CP%3EIs%20this%20is%20a%20known%20limitation%20or%20a%20bug%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-331187%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-567198%22%20slang%3D%22en-US%22%3ERe%3A%20News%20Web%20Part%20-%20filter%20by%20Managed%20Metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-567198%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%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20exactly%20the%20same%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20a%20news%20manager%2Fpage%20owner%20I%20need%20to%20be%20able%20to%20add%20multiple%20items%20as%20filters%20specifying%20X%20and%20Y%20as%20well%20as%20X%20or%20Y%20categories.%20So%20that%20I%20can%20show%20the%20news%20I%20want%20on%20my%20page.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20took%20me%20a%20while%20to%20figure%20out%20that%20to%20see%20if%20my%20filter%20had%20worked%20I%20had%20to%20click%20the%20%22Apply%22%20button%20(different%20functionality%20to%20other%20modern%20webpart%20filter%20settings).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDorje%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1265487%22%20slang%3D%22en-US%22%3ERe%3A%20News%20Web%20Part%20-%20filter%20by%20Managed%20Metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1265487%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dean%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20find%20a%20solution%20to%20this%3F%20I'm%20having%20the%20same%20problem.%20I%20have%20a%20custom%20column%20in%20the%20pages%20library%20but%20unable%20to%20filter%20by%20it%20in%20the%20News%20web%20part.%20I%20selected%20'page%20properties'%20in%20the%20filter%20but%20my%20custom%20column%20doesn't%20show.%20I%20only%20have%20'Title'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1265956%22%20slang%3D%22en-US%22%3ERe%3A%20News%20Web%20Part%20-%20filter%20by%20Managed%20Metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1265956%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%2F3471%22%20target%3D%22_blank%22%3E%40Paul%20Mathanarajah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20checked%20my%20modern%20sharepoint%20intranet%20home%20page%2C%20news%20carosel.%3C%2FP%3E%3CP%3EIn%20the%20webpart%20filter%2C%20the%20only%20drop%20down%20options%20I%20have%20are%20a%20%22blank%22%20drop%20down%20item%20and%20%22title%22%20item%2C%20then%20the%20equals%2Ccontains%20etc%20drop%20down%3C%2FP%3E%3CP%3EI%20thought%20that%20the%20news%20filter%20used%20to%20have%20a%20%22managed%20property%22%20drop%20down%20option%20along%20with%20the%20%22title%22%20option.%20But%20I%20may%20be%20mistaken.%20When%20I%20checked%20just%20now%20only%20the%20%22Highlighted%20content%22%20web%20part%20had%20the%20%22managed%20property%22%20filter%20option.%3C%2FP%3E%3CP%3EPerhaps%20you%20could%20use%20%22Highlighted%22%20content%20Paul%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267685%22%20slang%3D%22en-US%22%3ERe%3A%20News%20Web%20Part%20-%20filter%20by%20Managed%20Metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267685%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F228833%22%20target%3D%22_blank%22%3E%40Dorje%20McKinnon%3C%2FA%3E%26nbsp%3BThanks!%20I%20found%20the%20answer%20to%20my%20problem.%20I%20was%20using%20a%20Boolean%20(Yes%2FNo)%20column%20for%20my%20news%20pages%20library%20and%20it%20looks%20like%20this%20is%20not%20a%20supported%20data%20type%20for%20the%20News%20web%20part%20filter.%20I%20changed%20to%20Choice%20and%20it%20now%20shows%20in%20the%20drop-down.%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESupported%20column%20types%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3ESingle%20line%20of%20text%3C%2FLI%3E%3CLI%3EMultiple%20line%20of%20text%3C%2FLI%3E%3CLI%3EChoice%20(Multi%20Choice)%3C%2FLI%3E%3CLI%3ENumber%3C%2FLI%3E%3CLI%3ECurrency%3C%2FLI%3E%3CLI%3ELookup%3C%2FLI%3E%3CLI%3EHyperlink%20or%20Picture%3C%2FLI%3E%3CLI%3ECalculated%3C%2FLI%3E%3CLI%3EComputed%3C%2FLI%3E%3CLI%3EManaged%20Metadata%3C%2FLI%3E%3CLI%3EApproval%20Status%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fvitextra.com%2Fen%2Fsupport%2Fkb%2F10031%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fvitextra.com%2Fen%2Fsupport%2Fkb%2F10031%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Respected Contributor

I have added a Managed Metadata (with allow multiple choices enabled) column to the Site Pages library. When I use the News web part and choose the Page Properties filter, i can set it "Equal" to a value, but I can't use Contains or any other filter type. This prevents us from displaying a news article that has more than one attribute selected in the Managed Metadata column.

Is this is a known limitation or a bug?

4 Replies
Highlighted

Hi @Dean Gross 

I have exactly the same issue. 

 

As a news manager/page owner I need to be able to add multiple items as filters specifying X and Y as well as X or Y categories. So that I can show the news I want on my page.

 

It took me a while to figure out that to see if my filter had worked I had to click the "Apply" button (different functionality to other modern webpart filter settings).

 

 

Dorje

Highlighted

Hi Dean,

 

Did you find a solution to this? I'm having the same problem. I have a custom column in the pages library but unable to filter by it in the News web part. I selected 'page properties' in the filter but my custom column doesn't show. I only have 'Title'.

 

Thanks

Hi @PMLIO 

I just checked my modern sharepoint intranet home page, news carosel.

In the webpart filter, the only drop down options I have are a "blank" drop down item and "title" item, then the equals,contains etc drop down

I thought that the news filter used to have a "managed property" drop down option along with the "title" option. But I may be mistaken. When I checked just now only the "Highlighted content" web part had the "managed property" filter option.

Perhaps you could use "Highlighted" content Paul ?

 

Highlighted

@Dorje McKinnon Thanks! I found the answer to my problem. I was using a Boolean (Yes/No) column for my news pages library and it looks like this is not a supported data type for the News web part filter. I changed to Choice and it now shows in the drop-down.:smile:

 

Supported column types:

  • Single line of text
  • Multiple line of text
  • Choice (Multi Choice)
  • Number
  • Currency
  • Lookup
  • Hyperlink or Picture
  • Calculated
  • Computed
  • Managed Metadata
  • Approval Status

https://vitextra.com/en/support/kb/10031