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!
- Erik WettergrenFeb 07, 2019Iron Contributor
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
- Erik WettergrenFeb 03, 2019Iron Contributor
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).
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!
- Richard RodgersFeb 04, 2019Brass Contributor
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.
- Erik WettergrenFeb 04, 2019Iron ContributorHi 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.