Sagar Pardeshi
How can you force SPQuery to return results from all the folders of the list?
By Sagar Pardeshi in SharePoint on May 16 2014
  • Aakash Maurya
    Apr, 2018 4

    By setting scope of ViewAttributes to RecursiveAll

    • 1
  • Sagar Pardeshi
    May, 2014 16

    If you want to get results from all the folders in the list.. then you need to specify the scope of the query by the use of ViewAttributes.e.g. query.ViewAttributes = "Scope=\"Recursive\"";

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS