Forum Discussion
Modern Team Sites - Highlighted Content filter not work
David Mehr, this does work. I created a document on my site. Then I added the web part and like you said nothing appeared. Then I selected Pages as content type and my pages were showing up. Then I seleted document as my content type filter again and I got the document below:
So it looks like there may be a slight delay.
Then I added a filter and again there was some delay. I'm guessing that as this uses search you are depnding on the next search crawl to pick up your data.
You might want to have a play with the list/library settings. In advanced settings there is a box "Reindex Document Library or Reindex List". Click this will means that the library has been recrawled.
In general when this doesn't work for me I click on the box. Then I add an item. So that when the new item appears in search I know that the latest crawl has run.
Pieter Veenstra, thanks for your feedback. That's right, webparts without a filter shows any documents.
But webparts with filters doesn't work.
In my case i add a filter with managed property created by equals [me], but i can see nothing, but i have created a lot.
And an other case is to show all "SiteCollections", i tested this with a filter managed property contentclass equals STS_Site , also nothing. Or is the webpart highlighted content the wrong way for this case?
- Nov 11, 2016
Hi David Mehr,
I'm guessing that you are looking to build a site collection index rather than displaying content from all site collections. To display content from all site collections you can select the source and set it to All Sites.
If you now want to display sites/site collections. Then I don't think that that is possible wiht this web part. The Type and Document Type only include values for 'items'.
- Nov 11, 2016
Hi David Mehr,
I just filtered by title and that worked.
I then tried filtering by Modified By and Created By and this works if you filter by your display name but you are right that [Me] doesn't work.
- David MehrNov 11, 2016Brass Contributor