How do I set the scope to recursive in the Data View Web Part in SP 2013?

How do I set the scope to recursive in the Data View Web Part in SP 2013?
I have items in folders that I would like to display in the data view web part out of their folders.  I know that I need to set the scope to recursive.  I found documentation on how to do it in 2010, but since they removed all views other than
the code view, I am unsure about how to do so.
Link to article describing how to do what I am trying to do in 2010:
https://www.nothingbutsharepoint.com/2009/05/13/data-view-web-part-folders-part-2-aspx/

Hi,
In SharePoint Designer 2013, we can click the code of the Data view web part. Then switch the tab to "OPTIONS". And then we can find the Folder Scope option, you can select "Show All Files of All Folders"
to achieve your requirement.
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • Modify the data source of a data view web part

    I have a dataView web part deployed in a template in multiple site collection. This dataView hasn't any query set up, so it loads a lot of items and this is slowing down my system.
    Now I want to programmatically put a query overriding the existent (empty) one and I'm doing like this:
    System.Web.UI.WebControls.WebParts.WebPart y = (System.Web.UI.WebControls.WebParts.WebPart)item;
    Microsoft.SharePoint.WebPartPages.DataFormWebPart z = (Microsoft.SharePoint.WebPartPages.DataFormWebPart)item;
    StringBuilder dataSourceString = new StringBuilder("<%@ Register TagPrefix=\"sharepoint\" Namespace=\"Microsoft.SharePoint.WebControls\" Assembly=\"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<%@ Register TagPrefix=\"WebPartPages\" Namespace=\"Microsoft.SharePoint.WebPartPages\" Assembly=\"Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<sharepoint:SoapDataSource runat=\"server\" SelectUrl=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx\" InsertUrl=\"\" UpdateUrl=\"\" DeleteUrl=\"\" SelectAction=\"http://schemas.microsoft.com/sharepoint/soap/GetListItems\" InsertAction=\"\" UpdateAction=\"\" DeleteAction=\"\" SelectPort=\"ListsSoap\" InsertPort=\"\" UpdatePort=\"\" DeletePort=\"\" SelectServiceName=\"Lists\" InsertServiceName=\"\" UpdateServiceName=\"\" DeleteServiceName=\"\" AuthType=\"Basic\" AuthUserName=\"contoso\\administrator\" AuthPassword=\"pass@word1\" WsdlPath=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx?WSDL\" XPath=\"\" ID=\"SoapDataSource3\">");
    dataSourceString.Append("<SelectCommand><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>Jobs</listName>");
    dataSourceString.Append("<Query><Where><Eq><FieldRef Name=\"Title\" /><Value Type=\"Text\">2012_080_A_0</Value></Eq></Where></Query>");
    dataSourceString.Append("<rowLimit>9999</rowLimit></GetListItems></soap:Body></soap:Envelope></SelectCommand><InsertCommand></InsertCommand><UpdateCommand></UpdateCommand><DeleteCommand></DeleteCommand></sharepoint:SoapDataSource>");
    z.DataSourcesString = dataSourceString.ToString();
    manager.SaveChanges(z);
    In my code, I can see the DataSourceString changing, but if I refresh the page it is still loading all the data: why?!

    Hi,
    According to your description, my understanding is that you want to change the data view web part datasource programmatically.
    We need to override the databind method like below:
    public class ExtendedDataFormWebPart : DataFormWebPart
    public override void DataBind()
    this.DataSource = your own data source;
    base.DataBind();
    Here is a detailed code demo for your reference:
    http://jamestsai.net/Blog/post/How-to-query-cross-site-lists-in-DataFormWebPart-Part-1-Build-your-own-data-source-for-DataFormWebPart.aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Data view web part to display the most frequently accessed pages based on the user that is logged in

    I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North, South, East, and West. When a user visits the North region homepage, I would like a web part to display:
    Hello, <username>, here is a listing of your most accessed content:
    Link to One
    Link to Two
    Link to Three
    Link to Four
    Link to Five
    So each user would get a customized list based on their content access. We are not using my sites, but these would not work as we want the list to display on the home page of the region site.
    I am thinking that a data view may work here, but I am not sure. Any help is greatly appreciated.

    If you are running MOSS you may want to take a look at the Relevant Documents web part too.
    http://office.microsoft.com/en-us/sharepointserver/HA102410251033.aspx
    The Relevant Documents Web Part helps you create a personalized view of the documents that you create, check out, and change. In a large Document Center, the Web Part can save you time and effort by making files easier to find and use. The following figure shows the Web Part:

  • I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive?

    I have a new MAcBook Air and my photos don't fit on the internal hard drive.  I want to store my photos on an external hard drive which I will connect to my Air when using Iphoto.  How do I set an external hard drive as the default drive in Iphoto?

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • HT1351 I have a new iPod Touch......I was able to successfully set up a new account, but I want it to be separate from the 800 songs I already have in my iTunes library.  How do I set up a separate library on the same computer?

    I have a new iPod touch; I have an iTunes library of music for an older iPod shuffle.  I'd like to set up the iPod touch for my wife with a separate library of music - I was successful in setting up a separte account, but it seems my 800 songs are still there in the library.  How do a set up a new account on the same computer without bringing along all the music that will clog up her iPod touch?

    There's a few ways of doing it. The following document may be of some help:
    How to use multiple iPods, iPads, or iPhones with one computer

  • How do i set up multiple iCloud accounts on the same mac?

    how do i set up multiple iCloud accounts on the same mac?

    Interesting - I was sure I'd seen a note somewhere that it was only Mail, but this article:
    http://support.apple.com/kb/ts4020
    does say
    Your secondary iCloud accounts can be set up and viewed in Settings > Mail, Contacts, Calendars on your iOS device, or Apple () menu > System Preferences > Mail, Contacts, Calendars on OS X Lion. You may choose to do this if you have a second iCloud account and need to access its Mail, Contacts, or Calendar data. 
    Note: While you can configure multiple iCloud Mail accounts in iOS, Push mail will only work for the primary iCloud account in iOS. Secondary account(s) will check for mail based on the settings in Settings > Mail, Contacts, Calendars > Fetch New Data.
    It's not something I can test - I suppose the second account's data gets added to the lists in iCal and Address Book?

  • I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad.

    I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad?

    You will need the previous owner's Apple ID and Password to:
    1. Turn off Find My iPhone
    2. Erase device
    3. Reactivate device

  • How can I set up an email signature in the Nokia 822

    How can I set up an email signature in the Nokia 822?

        Great question, Robobenn! Here is how to add the signature:
    From the Start screen, tap the Mail tile.
    Tap the More icon.
    Tap settings.
    To enable, tap the Signature on/off switch.
    Scroll to, then tap the Signature field.
    Enter the desired signature, then tap the Checked icon.
    For additional support, go to: vzw.com/support
    Thank you,
    LenaA_VZW
    Follow us on Twitter @VZWSupport

  • How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

  • How do I set two different beat measures in the same project, e.g. 2/4 and 3/4?

    How do I set two different beat measures in the same project, e.g. 2/4 and 3/4?

    mpcsouza wrote:
    How do I set two different beat measures in the same project, e.g. 2/4 and 3/4?
    you can't, GB is restricted to a single time signature per project
    however, the time sig is really more cosmetic, it doesn't affect the way the project plays back, so you could set the project to 2/4 when working on the 2/4 parts, and 3/4 when working on the 3/4 parts

  • How do I set up my iMac g4 to the Internet?

    How do I set up my iMac g4 to the Internet?

    http://docs.info.apple.com/article.html?artnum=106748 Mac OS X: Troubleshooting a dial-up/PPP Internet connection 
    http://docs.info.apple.com/article.html?artnum=106749 Troubleshooting a cable modem, DSL, or LAN Internet connection

  • How do I set up a second iphone using the same iTunes account?

    How do I set up a second iphone on the same iTunes account but give my wife ability to have her own calendar and contacts?

    Create a separate iTunes library for each device. Note: It is important that you make a new iTunes Library file. Do not just make a copy of your existing iTunes Library file. it will work. I am using it through this

  • I just purchased a song from I tunes this was my first one .... How do I set it as a ringtone on the I phone 5

    I've purchased a song from I tunes how do I set it as a ringtone on the I phone 5 btw this is my first I phone so please help

    You can't use the whole song as a ringtone, you would have to create it either by using itunes or an app.
    http://www.ehow.com/how_2160460_custom-iphone-ringtones-free.html
    There are a lot of ringtone maker in the app store, do a search.  Just make sure you read the reviews before you download it.

  • How do i set up and automatic out of the office message while I am away on vacation?

    How do I set up an automatic out of the office reply while I'm on vacation?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access web mail, you need to seek support from your service provider or a forum for that service.
    If your problem is with Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/]
    or this one
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"
    *Select : [X] "Remember search and form history"
    See also:
    *https://support.mozilla.org/kb/Form+autocomplete
    <i>[locking thread due to the age]</i>
    If you have further questions then please start a new thread.
    *[[/questions/new start a new thread]]

Maybe you are looking for

  • Boot Camp Assistant won't work - keeps asking me to use Software Update.

    I am trying to use Boot Camp to install Windows but my Boot Camp Assistant won't work - it keeps asking me to use Software Update. So, even though I know everything is up to date, I start Software Update and it confirms that indeed everything is up t

  • Finder does not work correctly

    when i try to mark a part of text, sometimes mark it all and i cannot release for several times. Often, when i try to move a file from one folder to anotherone,it is not possible or the file like movie will open. Also when i try to move a folder in f

  • Made movie on MacBook Pro, wont play in Windows?

    I made a movie in iMovie on my Macbook Pro and exported it as a 720p Quicktime movie. It plays fine on my Mac, but it will not play on any of my 3 Windows machines. Am I missing a setting or something?

  • Question about repeating in the process chain

    Hello Gurus,         my DTP is set as "valid records update, no reporting (request red)", and put into a process chain. the process chain goes wrong on this DTP due to some erroneous records.  my questions are:    (1) based on DTP configuration, all

  • ARD Slow to Authenticate Connection

    Hi All I was wondering if any one could help with an issue that is not critical but is bugging me and slowing me down When I start Up ARD and select a room the MAC Clients are sat at 'Authenticating' this takes about 5 to 10 minutes to complete a roo