Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

SPQuery does not search folders with in the document library.

  Asked By: Micah    Date: Dec 01    Category: Sharepoint    Views: 2492

SPQuery does not search folders with in the document library

If any one has got resoultion to the issue, please provide answer.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Anantha Rishikesan Thamotharan     Answered On: Mar 23

Though the response is late, "Being late is always better than Never"

You can set the the view attribute parameter to fetch the data within the folders. The following query illustrates it,


SPQuery _spQuery = new SPQuery();
_spQuery.ViewAttributes = "Scope=\"Recursive\"";


 




Tagged: