SharePoint 2019 - Highlighted Content Managed property issues

%3CLINGO-SUB%20id%3D%22lingo-sub-2860351%22%20slang%3D%22en-US%22%3ESharePoint%202019%20-%20Highlighted%20Content%20Managed%20property%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2860351%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EObjective%3A%20Use%20Highlighted%20Content%20Web%20Part%20to%20show%20only%20the%20Site%20Pages%20that%20have%20a%20given%20Choice%20Value%20using%20a%20Managed%20Property.%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EProblem%3A%26nbsp%3BWhen%20Filter%20is%20applied%2C%20depending%20on%20the%20value%2C%20no%20pages%20are%20shown%20at%20all%2C%20or%20only%201%20shows%20up%20when%20there%20should%20be%20multiple.%20If%20no%20filter%20is%20applied%20then%20all%20the%20pages%20show%20as%20expected.%20The%20results%20are%20not%20consistent%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESteps%3A%3CBR%20%2F%3E1.Create%20Site%20column%3CBR%20%2F%3E-Name%3A%20Tipologia%3CBR%20%2F%3E-Type%3A%20Choice%3CBR%20%2F%3E-Group%3A%20Custom%20Columns%20(Default)%3CBR%20%2F%3E-Required%3A%20No%3CBR%20%2F%3E-Unique%3A%20No%3CBR%20%2F%3E-Choices%3A%3CBR%20%2F%3E-Choice1%3CBR%20%2F%3E-Choice2%3CBR%20%2F%3E-Choice3%3CBR%20%2F%3Eg.%20Display%3A%20Drop-down%3CBR%20%2F%3Eh.%20Fill-in%3A%20No%3CBR%20%2F%3Ei.%20Default%3A%20Choice1%3CBR%20%2F%3E2.Associate%20Tipologia%20Site%20Column%20to%20SitePage%20Content%20Type%3CBR%20%2F%3Ea.%20Add%20from%20existing%20site%20columns%3CBR%20%2F%3Eb.%20Update%20all%20inheriting%3CBR%20%2F%3E3.Set%20Tipologia%20column%20value%20in%20each%20Site%20Page%20to%20a%20Choice%3CBR%20%2F%3E4.Run%20Full%20crawl%20on%20Content%20Source%3CBR%20%2F%3E5.Check%20Search%20Schema%20for%20new%20properties%3CBR%20%2F%3E-Crawled%3CBR%20%2F%3E-ows_Tipologia%3CBR%20%2F%3E-ows_q_CHCS_Tipologia%20mapped%20to%20TipologiaOWSCHOICE%3CBR%20%2F%3E-Managed%3CBR%20%2F%3E-TipologiaOWSCHOICE%3CBR%20%2F%3E6.Configure%20Highlighted%20Content%20Web%20Part%3CBR%20%2F%3Ea.Source%3A%20This%20Site%3CBR%20%2F%3Eb.Type%3A%20Pages%3CBR%20%2F%3Ec.Filter%3A%20Managed%20Property%3CBR%20%2F%3Ed.Find%3A%20Tipologia%3CBR%20%2F%3Ee.Managed%20Property%20Name%3A%20TipologiaOWSCHOICE%3CBR%20%2F%3Ef.Condition%3A%20Equals%3CBR%20%2F%3Eg.Value%3A%20Choice1%3CBR%20%2F%3Eh.The%20rest%20is%20left%20to%20default%3CBR%20%2F%3E7.Publish%20Page%20and%20check%20results%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2860351%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%202019%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Objective: Use Highlighted Content Web Part to show only the Site Pages that have a given Choice Value using a Managed Property.

 

Problem: When Filter is applied, depending on the value, no pages are shown at all, or only 1 shows up when there should be multiple. If no filter is applied then all the pages show as expected. The results are not consistent at all.

 

Steps:
1.Create Site column
-Name: Tipologia
-Type: Choice
-Group: Custom Columns (Default)
-Required: No
-Unique: No
-Choices:
-Choice1
-Choice2
-Choice3
g. Display: Drop-down
h. Fill-in: No
i. Default: Choice1
2.Associate Tipologia Site Column to SitePage Content Type
a. Add from existing site columns
b. Update all inheriting
3.Set Tipologia column value in each Site Page to a Choice
4.Run Full crawl on Content Source
5.Check Search Schema for new properties
-Crawled
-ows_Tipologia
-ows_q_CHCS_Tipologia mapped to TipologiaOWSCHOICE
-Managed
-TipologiaOWSCHOICE
6.Configure Highlighted Content Web Part
a.Source: This Site
b.Type: Pages
c.Filter: Managed Property
d.Find: Tipologia
e.Managed Property Name: TipologiaOWSCHOICE
f.Condition: Equals
g.Value: Choice1
h.The rest is left to default
7.Publish Page and check results

0 Replies