Highly Confused by Highlighted Content

%3CLINGO-SUB%20id%3D%22lingo-sub-329669%22%20slang%3D%22en-US%22%3EHighly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329669%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20set%20up%20a%20highlighted%20webpart%20(HCWP)%20to%20pull%20content%20from%20acrsoss%20all%20our%20sites%20filtered%20by%20value%20of%20a%20specific%20managed%20metadata%20termset.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20when%20applying%20the%20managed%20property%20filter%20in%20HCWP%20I%20cannot%20find%20that%20specific%20termset%20(I%20called%20it%20SAMKnowledgeBase)%20but%20instead%20a%20weirdly%20named%20%3CEM%3Eowstaxld%3CSPAN%3ESAMKnowledgeBase%20-%20%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%3Ewhat's%20that%20all%20about%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESecondly%2C%20if%20I%20set%20the%20value%20of%20this%20property%20to%20%22Equals%22%20I%20get%20zero%20results%20even%20though%20several%20documents%20have%20exactly%20this%20term%20assigned.%20If%20instead%2C%20I%20set%20it%20to%20%22Contains%22%20it%20will%20pull%20the%20correct%20docs%20-%20but%20this%20certainly%20limits%20the%20usage%20of%20the%20filter%20a%20lot.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThirdly%2C%20the%20display%20name%20of%20each%20document%20seem%20rather%20random%2C%20sometimes%20it%20uses%20the%20name%2C%20sometimes%20the%20title%20and%20sometimes%20something%20else.%20I%20read%20this%20blog%20post%20which%20clarified%20some%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fjoannecklein.com%2F2017%2F02%2F12%2Fdemystifying-titles-in-sharepoint-search-delve%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fjoannecklein.com%2F2017%2F02%2F12%2Fdemystifying-titles-in-sharepoint-search-delve%2F%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ebut%20I%20still%20am%20confused%20because%20when%20trying%20to%20edit%20the%20%22title%20managed%20property%22%20as%20suggested%20I%20cannot%20seem%20to%20find%20filename%20as%20a%20property%20to%20include%20and%20the%20default%20order%20in%20this%20list%20doesn't%20seem%20to%20reflect%20in%20what%20is%20actually%20dispalyed%20in%20the%20webpart.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Elastly%2C%20the%20image%20displayed%20for%20some%20of%20the%20documents%20are%20a%20complete%20mystery.%20In%20some%20cases%20the%20image%20does%20not%20even%20exist%20in%20the%20document%20itself!%20How%20can%20you%20control%20what%20image%20to%20display%20for%20each%20document%20in%20the%20HCWP%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-329669%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332870%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332870%22%20slang%3D%22en-US%22%3EYou%20might%20very%20well%20be%20correct.%20In%20my%20case%20this%20tiny%20image%20was%20perhaps%20just%20scaled%20down%20but%20still%20%22high%20quality%22.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332869%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332869%22%20slang%3D%22en-US%22%3E%3CP%3EOK%20now%20I%20get%20it%20(fell%20a%20bit%20stupid%20%3A)%3C%2Fimg%3E%20I%20was%20looking%20around%20in%20the%20search%20schema%20settings%20where%20I%20could%20find%20Filename%20as%20a%20managed%20property%20but%20couldn't%20figure%20out%20how%20to%20connect%20that%20with%20the%20Highlighted%20Content%20webpart%20(as%20apparently%20use%20the%20managed%20property%20Title%20instead).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20%3CEM%3Esorting%3C%2FEM%3E%20on%20the%20Filename%20doesn't%20seem%20to%20affect%20what%20is%20%3CEM%3Edisplayed%3C%2FEM%3E%20on%20each%20%22card%22%20in%20the%20webpart.%20Or%20am%20I%20missing%20something%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENevertheless%2C%26nbsp%3B%20I%20have%20managed%20to%20gain%20at%20least%20some%20control%20over%20things%20now.%20It%20turned%20out%20that%20for%20some%20reason%20whatever%20changes%20I%20did%20(during%26nbsp%3B%20the%20call%20with%20MS%20support)%20-%20it%20wasn't%20saved%20and%20I%20have%20no%20idea%20why%20it%20wasn't.%20Now%2C%20however%2C%20I%20can%20make%20those%20changes.%20If%20I%20move%20the%20crawled%20property%20%22Basic10%22%20from%20the%20bottom%20of%20the%20list%20to%20the%20top%20(of%20the%20managed%20property%20'title').%20Then%20reindex%20the%20site%2C%20wait%20an%20hour%20or%20so%2C%20and%20then...%20Filenames%20will%20be%20displayed%20in%20the%20webpart.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BI%20still%20wonder%20thought%20if%20there%20is%20any%20simple%20way%20of%20telling%3A%3C%2FP%3E%3CP%3E1.%20What%20managed%20properties%20are%20used%20by%20which%20webpart%3F%20(changing%20%22title%22%20seem%20to%20affect%20Highlighted%20content%20but%20what%20other%20webparts%20use%20the%20same%3F)%3C%2FP%3E%3CP%3E2.%20What%20do%20the%20differnet%20crawled%20properies%20actually%20mean%3F%20(It's%20not%20easy%20to%20guess%20that%20%22Basic10%22%20repesents%20filename).%20-%20is%20ther%20a%20table%20of%20some%20sort%20to%20be%20found%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20writing%20this%20it%20strikes%20me%20that%20changing%20the%20managed%20property%20%22Title%22%20to%20prioritize%20Basic10%20(i.e.%20filename)%20will%20mean%20that%20webparts%20like%20the%20news%20webpart%20will%20display%20each%20news%20item%20with%20an%20ugly%26nbsp%3B%3CEM%3Ename-of-the-news-item-file.aspx.%3C%2FEM%3E%20and%20that's%20really%20not%20what%20I%20want.%20So%20in%20the%20end%20I'm%20back%20where%20I%20started%20with%20frustration%20over%20the%20limited%20possibility%20to%20control%20the%20actual%20webpart%20(changing%20the%20search%20scheme%20is%20probably%20not%20the%20best%20cause%20of%20action%20after%20all).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20thank%20you%20all%20for%20your%20input%20and%20insights%20and%20appologize%20for%20my%20poorly%20concealed%20frustration!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332757%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332757%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20be%20honest%20I%20don%E2%80%99t%20know%20the%20definition%20of%20%E2%80%9Chighest%20quality%E2%80%9D%20that%20is%20used%2C%20I%20assume%20it%20is%20number%20of%20pixels%20or%20%E2%80%9Cfile%20size%E2%80%9D%20of%20the%20image.%20When%20I%20removed%20our%20offending%20small%20image%20the%20PPT%20file%20size%20decreased%20noticeably%20-%20hence%20my%20assumption%20that%20it%20was%20the%20%E2%80%9Chighest%20quality%E2%80%9D.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332682%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332682%22%20slang%3D%22en-US%22%3E%3CP%3EHere's%20an%20image%20that%20shows%20how%20I'm%20using%20the%20Filename%20to%20sort%20in%20Highlighted%20Content.%20Does%20this%20help%3F%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20457px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F72286i6CEED99DD2C50BCA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Sort-by-filename.jpg%22%20title%3D%22Sort-by-filename.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332538%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332538%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38%22%20target%3D%22_blank%22%3E%40Susan%20Hanley%3C%2FA%3Edo%20you%20think%20you%20could%20clarify%26nbsp%3B%3CEM%3Ehow%3C%2FEM%3E%20you%20use%20'Filename'%20as%20the%20sort%20value%3F%20I'am%20able%20to%20find%20the%20managed%20property%20Filename%2C%20but%20how%20do%20I%20make%20the%20webpart%20use%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332526%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332526%22%20slang%3D%22en-US%22%3EIt%20turned%20out%20to%20be%20a%20tiny%20tiny%20miniature%20of%20the%20displayed%20image%20hidden%20as%20part%20of%20another%20image.%20Why%20it%20chooses%20to%20pick%20this%20particlular%20image%20on%20slide%207%20is%20still%20a%20mystery%20though.%20MS%20support%20engineer%20didn't%20have%20clue%20either.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%20the%20title%20displayed%20doesn't%20seem%20to%20be%20possible%20to%20have%20any%20control%20over.%20(i've%20spend%20hours%20with%20MS%20support%20engineers%20trying%20to%20get%20the%20correct%20mapping%20in%20place%20-%20but%20NOTHING%20have%20desired%20effect).%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20most%20logical%20thing%20would%20be%20to%20display%20the%20'filename'%20as%20this%20property%20is%20100%25%20certain%20to%20exist%20and%20almost%20always%20relevant%20with%20regards%20to%20the%20content%20of%20the%20file.%20The%20'title'%20property%20is%20almost%20never%20used%2C%20its%20hidden%20away%20and%20very%20often%20plain%20misleading%20as%20people%20tend%20to%20make%20copies%20of%20files%20and%20just%20add%2Fchange%20content%20and%20save%20with%20a%20new%20name%20(but%20not%20editing%20title%20to%20reflect%20the%20cahanges).%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20I%20guess%20we%20have%20to%20live%20with%20this%20webpart%20being%20more%20or%20less%20impossible%20to%20control%20and%20user%20will%20have%20to%20guess%20the%20content%20of%20the%20displayed%20documents.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-330281%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-330281%22%20slang%3D%22en-US%22%3EOK%2C%20%22highest%20quality%22%20in%20terms%20of%20number%20of%20pixels%20or%20what%3F%20Could%20this%20be%20changed%20somehow%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-330240%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-330240%22%20slang%3D%22en-US%22%3E%3CP%3EI%20believe%20that%20it%20chooses%20the%20%22highest%20quality%22%20image%20from%20the%20document.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-330234%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-330234%22%20slang%3D%22en-US%22%3EHi%20and%20thanks!%3CBR%20%2F%3E%3CBR%20%2F%3EThat%20could%20possibly%20be%20the%20case%20here.%20But%20then%20it%20would%20be%20nice%20to%20understand%20how%20SharePoint%20pics%20the%20image%20to%20display.%20In%20another%20case%20it%20has%20picked%20out%20a%20competely%20random%20picture%20from%20a%20random%20slide%20in%20a%20powerpoint%20file.%20Would%20be%20useful%20to%20undastand%20how%20it%20works%20and%20how%20to%20work%20with%20this%20to%20make%20it%20display%20meaningful%20or%20representative%20pictures.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-330232%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-330232%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20seen%20a%20similar%20problem%20with%20the%20image%20-%20I%20was%20convinced%20that%20it%20wasn't%20in%20the%20document.%3C%2FP%3E%3CP%3EHowever%2C%20it%20was%20in%20the%20document%20-%20it%20had%20been%20shrunk%20down%20very%20small%20behind%20another%20image%20in%20the%20document%20-%20I%20only%20found%20it%20by%20deleting%20each%20image%20in%20turn%20to%20see%20what%20was%20behind%20each.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329824%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329824%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Susan!%20I%20can%20live%20with%20the%20prefix%20for%20the%20Managed%20Metadata%20attributes%20but%20its%20nice%20to%20understand%20what%20it%20means.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegarding%20the%20value%20of%20the%20attribute%20I%20use%20for%20filtering%2C%20I'm%20pretty%20sure%20it%20doesn't%20have%20any%20hidden%20characters%20(it's%20just%20a%20three%20letter%20acronyme%20in%20this%20case)%20but%20I'll%20check%20it%20out%20-%20it%20would%20explain%20the%20behaviour.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegarding%20the%20displayed%20title%20issue%2C%20I%20expected%20to%20find%20a%20filename%20as%20sortvalue%20but%20if%20I%20search%20for%20%22name%22%20I%20get%20all%20sorts%20of%20varietys%20suggested%2C%20like%20%22EntityName%22%20%22owsCultureName%22%20and%20%22owsBaseName%22%20but%20no%20%22FileName%22%20(not%20on%20the%20next%20page%20either).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20977px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F71783iC1A71ACD01DE6E6B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.JPG%22%20title%3D%22Capture.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20image%20issue%20is%20the%20most%20confusing.%20The%20picture%20that%20is%20pulled%20out%20is%20definitely%20made%20by%20someone%20in%20my%20org.%20Could%20possibly%20have%20been%20included%20in%20an%20earlier%20version%20of%20this%20document%20but%20it%20is%20deleted%20longa%20ago%20(even%20befor%20the%20file%20was%20uploaded%20to%20SharPoint%20in%20the%20first%20place)%20I've%20searched%20for%20it%20meerely%20to%20understand%20what's%20going%20on%20but%20I%20cannot%20find%20it%20anywhare%20in%20this%20document.%20So%20confusing!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329739%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329739%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20answer%20a%20few%20of%20your%20questions%3A%20the%20reason%20you%20see%20owstaxid%20is%20that%20behind%20the%20scenes%2C%20your%20metadata%20is%20coming%20from%20the%20managed%20metadata%20(taxonomy)%20service.%20All%20managed%20metadata%20attributes%20are%20preceded%20by%20owstaxid.%20As%20I%20understand%20it%2C%20the%20value%20of%20your%20attribute%20also%20has%20some%20hidden%20characters%20as%20well%2C%20which%20is%20why%20Equals%20will%20never%20work%20unless%20you%20know%20exactly%20what%20they%20are.%20Therefore%2C%20you%20are%20correct%20that%20in%20your%20filter%2C%20you%20need%20to%20use%20Contains.%20I'm%20not%20quite%20sure%20I%20understand%20your%20third%20issue%2C%20but%20I%20typically%20use%20Filename%20as%20the%20sort%20value.%20You%20can%20select%20it%20by%20looking%20for%20a%20managed%20property%20and%20then%20using%20%22name%22%20as%20the%20filter%20criteria.%20You%20can%20also%20use%20Title%20-%20and%20Joanne's%20post%20explains%20how%20that%20filter%20translates%20to%20%22SharePoint%20speak.%22%20I%20can't%20help%20you%20with%20the%20image%20selected%20for%20documents.%20You%20can%20control%20the%20image%20for%20Pages%2C%20but%20I%20haven't%20yet%20seen%20an%20image%20that%20isn't%20even%20in%20the%20document%20-%20so%20that's%20a%20new%20one%20for%20me!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-792365%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-792365%22%20slang%3D%22en-US%22%3E%3CP%3EYou're%20confusing%20managed%20properties%20with%20managed%20metadata.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EManaged%20properties%20are%20part%20of%20search%20and%20are%20created%20automatically%20for%20site%20columns%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftechnical-reference%2Fcrawled-and-managed-properties-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftechnical-reference%2Fcrawled-and-managed-properties-overview%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EThe%20highlighted%20content%20webpart%20is%20the%20modern%20equivalent%20of%20the%20content%20search%20webpart.%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EYour%20equals%20clause%20doesn't%20work%20because%20the%20managed%20property%20you've%20chosen%20includes%20the%20GUID%20for%20the%20selected%20term%20in%20addition%20to%20the%20text%20value.%20If%20you%20have%20created%20the%20column%20as%20a%20site%20column%20(and%20allowed%20time%20for%20it%20to%20index)%2C%20you'll%20have%20another%20managed%20property%20which%20contains%20only%20the%20text%20value.%20Use%20that%20instead.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1083463%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1083463%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F149%22%20target%3D%22_blank%22%3E%40Susan%20Hanley%3C%2FA%3EThat%20is%20great%2C%20however%2C%20I%20would%20also%20need%20to%20sort%20by%20modifcation%20date...%20any%20ideas%20how%20I%20could%20do%20that%20on%20this%20webpart%3F%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1083657%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1083657%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20sorting%20by%20Most%20recent%3F%20That%20sort%20uses%20the%20last%20modified%20date%20-%20and%20you%20can%20sort%20either%20ascending%20or%20descending.%20Depending%20on%20what%20you%20are%20retrieving%2C%20you%20may%20also%20have%20the%20option%20to%20sort%20by%20a%20Managed%20Property.%20If%20you%20do%2C%20you%20can%20use%20LastModifiedTime%20as%20well.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1085578%22%20slang%3D%22en-US%22%3ERe%3A%20Highly%20Confused%20by%20Highlighted%20Content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1085578%22%20slang%3D%22en-US%22%3Emakes%20sense.%20Will%20try%20that%20%2C%20thanks!%3C%2FLINGO-BODY%3E
Frequent Contributor

I'm trying to set up a highlighted webpart (HCWP) to pull content from acrsoss all our sites filtered by value of a specific managed metadata termset.

 

However, when applying the managed property filter in HCWP I cannot find that specific termset (I called it SAMKnowledgeBase) but instead a weirdly named owstaxldSAMKnowledgeBase - what's that all about?

 

Secondly, if I set the value of this property to "Equals" I get zero results even though several documents have exactly this term assigned. If instead, I set it to "Contains" it will pull the correct docs - but this certainly limits the usage of the filter a lot.

 

Thirdly, the display name of each document seem rather random, sometimes it uses the name, sometimes the title and sometimes something else. I read this blog post which clarified some https://joannecklein.com/2017/02/12/demystifying-titles-in-sharepoint-search-delve/

but I still am confused because when trying to edit the "title managed property" as suggested I cannot seem to find filename as a property to include and the default order in this list doesn't seem to reflect in what is actually dispalyed in the webpart.

 

lastly, the image displayed for some of the documents are a complete mystery. In some cases the image does not even exist in the document itself! How can you control what image to display for each document in the HCWP?

16 Replies

To answer a few of your questions: the reason you see owstaxid is that behind the scenes, your metadata is coming from the managed metadata (taxonomy) service. All managed metadata attributes are preceded by owstaxid. As I understand it, the value of your attribute also has some hidden characters as well, which is why Equals will never work unless you know exactly what they are. Therefore, you are correct that in your filter, you need to use Contains. I'm not quite sure I understand your third issue, but I typically use Filename as the sort value. You can select it by looking for a managed property and then using "name" as the filter criteria. You can also use Title - and Joanne's post explains how that filter translates to "SharePoint speak." I can't help you with the image selected for documents. You can control the image for Pages, but I haven't yet seen an image that isn't even in the document - so that's a new one for me!

Thanks Susan! I can live with the prefix for the Managed Metadata attributes but its nice to understand what it means.

 

Regarding the value of the attribute I use for filtering, I'm pretty sure it doesn't have any hidden characters (it's just a three letter acronyme in this case) but I'll check it out - it would explain the behaviour.

 

Regarding the displayed title issue, I expected to find a filename as sortvalue but if I search for "name" I get all sorts of varietys suggested, like "EntityName" "owsCultureName" and "owsBaseName" but no "FileName" (not on the next page either).

Capture.JPG

 

The image issue is the most confusing. The picture that is pulled out is definitely made by someone in my org. Could possibly have been included in an earlier version of this document but it is deleted longa ago (even befor the file was uploaded to SharPoint in the first place) I've searched for it meerely to understand what's going on but I cannot find it anywhare in this document. So confusing!

I've seen a similar problem with the image - I was convinced that it wasn't in the document.

However, it was in the document - it had been shrunk down very small behind another image in the document - I only found it by deleting each image in turn to see what was behind each.

Hi and thanks!

That could possibly be the case here. But then it would be nice to understand how SharePoint pics the image to display. In another case it has picked out a competely random picture from a random slide in a powerpoint file. Would be useful to undastand how it works and how to work with this to make it display meaningful or representative pictures.

I believe that it chooses the "highest quality" image from the document.

OK, "highest quality" in terms of number of pixels or what? Could this be changed somehow?
It turned out to be a tiny tiny miniature of the displayed image hidden as part of another image. Why it chooses to pick this particlular image on slide 7 is still a mystery though. MS support engineer didn't have clue either.

Also the title displayed doesn't seem to be possible to have any control over. (i've spend hours with MS support engineers trying to get the correct mapping in place - but NOTHING have desired effect).

The most logical thing would be to display the 'filename' as this property is 100% certain to exist and almost always relevant with regards to the content of the file. The 'title' property is almost never used, its hidden away and very often plain misleading as people tend to make copies of files and just add/change content and save with a new name (but not editing title to reflect the cahanges).

So, I guess we have to live with this webpart being more or less impossible to control and user will have to guess the content of the displayed documents.

@Susan Hanleydo you think you could clarify how you use 'Filename' as the sort value? I'am able to find the managed property Filename, but how do I make the webpart use it?

Here's an image that shows how I'm using the Filename to sort in Highlighted Content. Does this help?Sort-by-filename.jpg

To be honest I don’t know the definition of “highest quality” that is used, I assume it is number of pixels or “file size” of the image. When I removed our offending small image the PPT file size decreased noticeably - hence my assumption that it was the “highest quality”. 

OK now I get it (fell a bit stupid :) I was looking around in the search schema settings where I could find Filename as a managed property but couldn't figure out how to connect that with the Highlighted Content webpart (as apparently use the managed property Title instead).

 

However, sorting on the Filename doesn't seem to affect what is displayed on each "card" in the webpart. Or am I missing something?

 

Nevertheless,  I have managed to gain at least some control over things now. It turned out that for some reason whatever changes I did (during  the call with MS support) - it wasn't saved and I have no idea why it wasn't. Now, however, I can make those changes. If I move the crawled property "Basic10" from the bottom of the list to the top (of the managed property 'title'). Then reindex the site, wait an hour or so, and then... Filenames will be displayed in the webpart.

 

 I still wonder thought if there is any simple way of telling:

1. What managed properties are used by which webpart? (changing "title" seem to affect Highlighted content but what other webparts use the same?)

2. What do the differnet crawled properies actually mean? (It's not easy to guess that "Basic10" repesents filename). - is ther a table of some sort to be found?

 

While writing this it strikes me that changing the managed property "Title" to prioritize Basic10 (i.e. filename) will mean that webparts like the news webpart will display each news item with an ugly name-of-the-news-item-file.aspx. and that's really not what I want. So in the end I'm back where I started with frustration over the limited possibility to control the actual webpart (changing the search scheme is probably not the best cause of action after all).

 

So, I thank you all for your input and insights and appologize for my poorly concealed frustration!

You might very well be correct. In my case this tiny image was perhaps just scaled down but still "high quality".

You're confusing managed properties with managed metadata. 

 

Managed properties are part of search and are created automatically for site columns:

 

https://docs.microsoft.com/en-us/sharepoint/technical-reference/crawled-and-managed-properties-overv...

 

The highlighted content webpart is the modern equivalent of the content search webpart. 

 

Your equals clause doesn't work because the managed property you've chosen includes the GUID for the selected term in addition to the text value. If you have created the column as a site column (and allowed time for it to index), you'll have another managed property which contains only the text value. Use that instead.

@Susan HanleyThat is great, however, I would also need to sort by modifcation date... any ideas how I could do that on this webpart? thanks

Have you tried sorting by Most recent? That sort uses the last modified date - and you can sort either ascending or descending. Depending on what you are retrieving, you may also have the option to sort by a Managed Property. If you do, you can use LastModifiedTime as well.
makes sense. Will try that , thanks!