Forum Discussion
Highly Confused by Highlighted Content
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?
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.
- holylanderJan 02, 2020Copper Contributormakes sense. Will try that , thanks!
- 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!