0

Dear SharePoint Expert,

I want to create a Content Query web part in SharePoint 2013 called "Latest Upload":

 1. i created the web-part:
 2.in query  source: i selected --> Show items from the following site
 and all sub-sites: i chose a site.
 3.what i need to do is to exclude some of the folders or sub-sites that the query is retrieving data from.

**How can i accomplish that?**
Johnny Zghaib
  • 518
  • 1
  • 12
  • 30
  • You can try to filter by FileDirRef. This field contains url of the directory for an item. Try to output it in your content query web part and see if you can use it for filtering. – Yevgeniy.Chernobrivets Feb 11 '14 at 19:41
  • @Yevgeniy.Chernobrivets i am using the edit web part (web version), when i attempt to add a filter there is a dropdown that i must choose from, there is no FileDirRef, how can i access it? or where do i find this filter. thx – Johnny Zghaib Feb 13 '14 at 07:59
  • "URL Path" column may be what you want. – Yevgeniy.Chernobrivets Feb 13 '14 at 09:06

0 Answers0