Creating List Data View with SharePoint Designer 2010 ignoring folders

Creating a List Data View with SharePoint Designer 2010 ignoring folders

A problem I encountered today, I’d tried to create a simple data view with SharePoint designer for a list that contains folders,
The data view was supposed to show only one item which it’s ID it gets from a query string, something I’ve done several times before, But when I added my data view filter no items were shown.


It took me a while to realize that the problem was not with my filter, but because all of the items were inside folders, so in order to ignore the folders in your custom SharePoint Designer data view follow this steps:
Go to data source details pane and press the link to your data source:

Designer Data Source Details Pane

SharePoint Designer Data Source Details Pane

Change your item and folder scope from Default to “RecursiveAll”:

Creating List Data View with SharePoint Designer 2010 ignoring folders

Creating List Data View with SharePoint Designer 2010 ignoring folders

Now you should see the items within the folders that are filtered in your data view.
Hope this helps!