Forum Discussion
Erik Wettergren
Feb 02, 2019Iron Contributor
Highly Confused by Highlighted Content
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 ...
Martin Green
Aug 07, 2019Copper Contributor
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-overview
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.