Forum Discussion
Highly Confused by Highlighted Content
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!
SusanHanleydo 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?
- Susan_HanleyFeb 08, 2019MVP
Here's an image that shows how I'm using the Filename to sort in Highlighted Content. Does this help?
- holylanderDec 30, 2019Copper Contributor
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
- Susan_HanleyDec 30, 2019MVPHave 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.
- Erik WettergrenFeb 08, 2019Iron Contributor
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!