Display a Sub-Site List on a Top Level Site

In SharePoint 2007, it was possible to display any list or library from one site on another site in the same site collection, but to accomplish it usually entailed digging into SharePoint Designer and creating a data view web part.  There was that little button when designing a data view web part, called “Connect to another Library”, which let you create a web part on one site, based off data in another site.

In SharePoint 2010, it is easy to put list or library data from a sub-site on a top level site in the same site collection, and it doesn’t entail creating any special web parts or breaking any pages off of the site definition!  Here’s how:

  1. Open the browser and go to the list or library that you want to ultimately display on another site.
  2. Click the Library tab in the ribbon, and click the orange Edit Library button, to open it up in SharePoint Designer 2010.
    image
  3. In the Views section on the right, click on the name of ANY view, to open it up.  Yes any.  It doesn’t matter which view you pick here.  Don’t worry, you won’t be modifying this page.
  4. Put the cursor inside the content section of the list, so that the set of List View Tools tabs are displayed at the top.
  5. Click the Web Part tab.  In the Save Web Part section, there are two options:
    image

    • To Site Gallery – This option is used if you want to have the ability to insert this list onto any site page in the whole site collection.
    • To File – This allows you to save the .WEBPART file on your computer, so that you can import that file onto any page in the site collection.
  6. Click To File, and save it to your desktop.  The following question pops  up:
    image
    Do you want this Web Part to always show list data from the current web site? If you select No, the web part will show data from the list at the path ___, relative to the site in which it is used.It is important to understand what this means.  Click Yes to save this exact list.  Click No, if you want this web part to be relative.  So for example, if this is a list called Announcements, this web part would be used to display any list with the name Announcements that exists on the site that this web part is imported on.  In this example, it’s a document library called Shared Documents.
  7. Click Yes.
  8. Close SharePoint Designer.
  9. Go to the other site, on which you would like to display this list.  Click to Add a web part, and click the little Upload button below all of the categories of web parts.   Upload the web part and add it to the page.

This is where the AWESOMENESS became apparent to me.  Now a default view of the sub-site’s list will be displayed AND you can go into the web part properties tool pane and change the view.  YES, the familiar Selected View drop-down and Edit the Current view button are both available…  even though the list you’re viewing exists on another site!

BUG alert 1:  Unfortunately, the functionality described in this blog post only works when you’re viewing a sub-site’s information on a top level site.  This doesn’t work the other way around (top level list on a sub-site) because when you try to import the web part on the page you get an error.

BUG alert 2: When importing any web part on a page, the upload functionality is a bit funky in 2010.  Sometimes you have to upload the web part twice before it will stick, sometimes some other site list gets added to the page, and every time you have to click to insert a web part at least twice.  The first time to upload it (then the list of web parts goes away), then the second time to add that web part to the page.

102 comments

  • philippecassagne@free.fr

    Thank you Laura for this helpfull post. I was messing around to find 2007 way of doing that in 2010. About “bug alert 1”, there’s a workaround : Everything you explained worked smoothly. And then, when finish, back in the top site where you set up your imported webpart, click on “export” and save the WP on the desktop again. Then go to another subsite, “add a webpart”, “browse”, “upload” and the WP is available in the sub site.

    Like

  • This is not working for me. Im trying to add the Posts list from our blog sub site and add that to our welcome page on the main site. when trying to add it to the page i get an “invalid list template” error from the webpage. Any ideas?

    Like

  • steve.sathre@gmail.com

    I have stumbled upon an issue, the list i am trying to display is the posts list from a Blog sub site. when trying to insert the web part I recieve an “invaild list template” error. I can take this same webpart and display it on the same sub site or other sub sites, just not on the top level site. Any Ideas?

    Like

  • Turns out that when you put the web part page in “Advanced Mode” in SharePoint Designer 2010, THEN you export it and it works fine when you import it to any site in the site collection.

    Like

  • assijagjit@gmail.com

    To show a parent site list on a sub-site edit the .webpart file before uploading it to the the web part gallery. Here are the steps to edit 1. Open the .webpart file in notepad 2. Make sure ListName property has the list guid as follow: {3frdnfd6-979f-4c70-aa80-d75def97b0fd} Note: above GUID is your list guid 3. Set the ListUrl property as following: 4. Make sure the WebId property has the GUID of the web where the list resides. Note:If your list is on the root of a site collection, you still need to provide the WEB GUID and NOT the SITE GUID 5. Finally make sure ListId property’s type value has the list guid of step 2. Make sure it is not null or all zeroes. After uploading you will be able to put it on any sub-site

    Like

  • Still not having luck with this, Laura! I an attempting to display a list (blog posts) from a subsite on the home page of the parent site. I’ve followed your instructions, including the addendum of Advanced Mode, and have tried saving the Web Part as a file and in the Site Gallery. I continue to receive the “Invalid list template.” error. The Content Roll-up web part isn’t doing the job, I essentially want to display a new view of that blog posts list on my parent site. It really shouldn’t be this difficult… I’m using the latest SharePoint Designer 2010, Version 14.0.476.1000 (32-bit). Has anyone found a work around??

    Like

  • Sara, SharePoint 2010 has been a real pain for me too, and is constantly surprising me with things that just don’t work the way they’re supposed to (or used to in 2007). I’ve successfully done what you’re trying, just with the Content Query Web Part instead, though. May want to go that route.

    Like

  • hupseb@googlemail.com

    Please get divorced and marry me 😀 😀 😀 Im writing my bachelorthesis about SP and your blog is helping me very much! Thank you! I love you! Best Regards from Germany Sebastian

    Like

  • Thanks for this Laura, its brilliant, I have being trying to work this out for a week now and had almost given up. Love your work, You’ve made my day!

    Like

  • Has anybody solved the issue about showing a Blog comment webpart from a subsite to a parentsite? I always get errors that the webpart is wrong.

    Like

  • Sarah, I’ll try and troubleshoot your issue when I get a chance, but iin the meantime have you tried the Content Query Web part? I believe you can accomplish what you need with it.

    Like

  • Thanks so much for this post. Exactly what I needed. By following your instructions to the T, I was able to display a subsite event calendar. Magic!

    Like

  • This was exactly what I needed. I started to create my own web part to do exactly this for multiple subsites. Now I can use this for all the lists that need to be displayed on the parent site. THANKS!!!!!

    Like

  • I got this to work just by following your instructions but I can’t seem to get a Web Part title to show on the parent site, where I import the web part. Does anyone else have this problem? I need to have a Title that labels where this list is coming from. Please help!!! This saved me so much time from having to create a custom web part!!!! Thanks!

    Like

  • Hi Laura, Do you think i can follow this approach to display a list in a subsite in another site which is at the same level.

    Like

  • Very helpful, thanks a lot Laura. I find it works just fine saving directly to the Site Gallery and then putting the web part on any page, regardless of whether it is above, below, or “to the side”. However, the “View” information seems to need to be recreated every time. Interestingly, in IE9 occasionally I am getting Data Execution errors when I put the pages with these cross-site web parts into Edit mode! I would love to see your recommendations as to how to best display list data crossing site collections as well (I tried this option and can confirm it doesn’t work).

    Like

  • Hey Laura, I have followed the instructions (to the letter) and used advanced mode as well to export the web part and I too am getting the Invalid List Template error when importing the webpart to the parent site. Have you (or anyone) found a workaround to this issue, seems like a lot of people are getting it? Thanks Andy

    Like

  • Sorry, this does not work, nor is it designed to. I find it hard to believe that someone got this to work as described.

    Like

  • Hey guys, I’d better go ahead and do a screencast on this one… especially for certain doubters.

    Like

  • mark@marksimon.de

    I have tried this and at first it worked fine. Unfortunately, we experienced problems when the subsite list was using metadata navigation and/or was located on a site using the publishing feature. For example, we got weird error messages when we tried to access the metadata navigation settings for the list. After deleting the web part on the top level site, everything went back to normal. So I would recommend to be careful with this trick.

    Like

  • OK, I’m at a complete loss here. I’m having the same problem as everyone else with trying to get Blog posts to appear using a webpart from a sub-site. Unfortunately, I cannot try the Content Query Web Part solution because it apparently requires the Publishing Infrastructure to be enabled. However, as soon as I enable that feature on the site, I instantly get an error that prevents me from accessing the site again until I disable the Publishing features via Powershell. I have found other references to this problem online, but unfortunately no answers to that one either. Has anyone found a solution to the Blog post problem? Thanks, Rob

    Like

  • I stumbled across something that may or may not help for this situation. I had created a data source connection at the top-level site within SPDesigner 2010 to an external SQL Server database. But I couldn’t figure out how to use that same connection within a sub site. Turns out, you can actually drag-n-drop lists and other data sources between sites. Go figure.

    Like

  • mark@designmind.com

    Have been fighting exact same problem attempting with BLOG posts. “Invalid List Template”

    Like

  • ofer.gal@mpspartners.com

    The save as web part is grayed out for me Anyone knows why?

    Like

  • abramk@pcmall.com

    This worked great for me as long as the list I created is a SharePoint list. But I have a lot of external data, so I sent up a BDC for an External List hoping to use this and no luck. Now because this is an external list I know I can add the list anywhere, but what I want to do is manage the list in one place, and create views that I then use in varous parts of the enterprise. Has anyone tried to do this process using an external list?

    Like

  • This worked fine for me in advanced editor mode, but I found that it doesn’ t like processing folders in a document library (not that I use folders anyway). The other problem is that sharepoint doesn’t like the check-out/check-in on any documents within this library.

    Like

  • Michelle Sweeney

    Hi Laura, My top-site is a publishing site and when I published the new webpart from our team site (sub-site) it seemed to corrupt the announcement list and the team site. The team site could not be accessed through content manager. I could see the items added in the views on both sites (and in SPD), but I could not edit them on the list itself because the page would not render (big ugly error message see below). I could add items from the parent site, but I could not delete them. It seems like the list id’s where corrupted when the top-site was published, is that possible? Another note about this is that the sites were both originally 2007 migrated to 2010. Many thanks for all your great posts and videos! Any help is greatly appreciated, Michelle Error on the list: Server Error in ‘/’ Application. ——————————————————————————– Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Microsoft.Office.RecordsManagement.RecordsRepository.Records.GetCachedAllowManualRecordDeclarationSetting(CachedList list, Hashtable siteProperties) +3 Microsoft.Office.RecordsManagement.Controls.c__DisplayClass1.b__0() +164 Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code) +39 Microsoft.Office.RecordsManagement.Controls.DeclareRecordAction.GetDeclareRecordInfo() +158 Microsoft.Office.RecordsManagement.Controls.InPlaceRecordsRibbon.Page_PreRenderComplete(Object sender, EventArgs e) +74 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +11046125 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671

    Like

  • Michelle Sweeeny

    Tried this again today with same error. I did notice it appears to work fine until I try to edit or change the list on the sub-site. This is when the error occured, so maybe not because the top site is publishing

    Like

  • I have the same problem but unfortunately we did n´t find the solution.

    Like

  • Have you guys looked at the screencast that I did on this? http://www.youtube.com/watch?v=0SfpgoEUlIw As far as your issues… I have many issues when trying to do this also, but it seems to work okay usually when it’s either displaying a parent list on a child or a child list on a parent.. but with sibling sites it doesn’t seem to work. Abramk, Do the users need to be able to write back to the external data in all of your views? If they don’t then maybe you can simply create a data view web part to show this external data, which wouldn’t be using the BCS at all. Then, you could simply place these web parts anywhere by exporting and importing them to different pages.

    Like

  • Is there a difference on how the list was created? In other words, I can use a standard list from the SP box and it works (both ways!), but when I try and get this to work using a custom list, here is what happens after it has been opened up in SPD: – Click into the body of the list. Ok. – Only the Web Part Tools tab appears. Ok – The Save Web Part is not selectable (greyed out) This is using a List from the Parent site. Now, I am creating a custom list from a subsite. It is also greyed out. And finally, I will try this again using a default list from the menu (tasks). Bada bing.. there it is. The ability to Save Web Part exists. ANy idea how we can make this work for a custom list?

    Like

  • Thanks from heart

    Like

  • I have been scouring the Internet for this! This has worked for me as I am trying to display several document libraries from a top-level site to a sub-site. I had to tweak it based on the post above from assijagjit@gmail.com and it now works. THANK YOU LAURA!

    Like

  • Marty, No, I’ve never seen that happen with custom lists. Seems strange.

    Like

  • This is in response to Michelle Sweeney: I had a very similar issue to your own within the same type of environment. A top level publishing site with a child site list, and attempting to display this list (mine happened to be a tasks list) via the “To Site Gallery” webpart within the top level site. I received the same errors as you and my list would also become inaccessible via any link (within the parent or child site) after adding the webpart to the parent site, though I could still see and edit the individual list items from the webpart on the child site (though the list link (Tasks) no longer functioned on the child site). After some initial testing and reading the few forum posts I could find on this topic here is what I have found: I followed the instructions by assijagjit@gmail.com above and uploaded the file to the web part gallery. I’m not sure if it mattered, but mine would fail consistently (at least after a few clicks of the List link in either site) when the ListID and WebID did not include the curly brackets ” { } ” when entering the GUID. Perhaps that was a fluke, but by default it appeared to strip those (the {}) in the webpart file. After making the changes above, and uploading the file, and adding the webpart to the parent site, everything worked.. from both sites and any link i used, this included adding/deleting/editing the items from within the webparts, both on the child site and the parent site, in addition to being able to access the list (instead of receiving the “Object reference not set to an instance of an object.” Errors) from the link in the child site (left navigation). However, like you, if I edited the list/library settings, say changed a field type, the list would become inaccessible again. What I found is if I go into SPD and open the list (in this case Tasks) and uncheck “Allow management of content types” and then save the changes, my list would all of a sudden become accessible again. I could even checkmark the “Allow management of content types option” and save the changes again, and it would still work. This forum post gave some additional insight: http://www.go4answers.com/Example/xsltlistviewwebpart-document-library-101732.aspx. In response to answer 3 on that post: I verified that the content types being used in the tasks list were available in the top level site, and in this case the top level site was the source (seen in the Site Content Types option in Site Settings), so clearly they were available. In response to answer 4 on that post: The first workaround is pretty much the same thing we have tried, add the webpart and don’t make any changes, be it to some sort of XLST or library settings. Additionally, when the error “Object reference not set to an instance of an object” occurred when trying to access my list I would look at the web server logs and would find this type of entry: Unable to get a cached list with id ‘xxxxxx’ from web ‘/sites/xxx/xxxx’ (replace the x’s with your ListID and site relative URL respectively, I removed them here) I was unable to find any information on this error. Long story short, sort of, I opted to finalize my list configuration, make the changes to the webpart file, and upload it to the parent site. If I do make changes to the list configuration I simply uncheck/check the “Allow management of content types” option in SPD and save the changes to the list. I have tried to leave the box unchecked and make the changes, but the issues returns. This works in my case but may not in yours. Perhaps it would provide someone else with some insight. Sorry for the long post. Take care

    Like

  • Hi Laura, I like this blog very much and it helps me a lot , but my head’s pain is how to show the list data from parent or any within site collection… do you have any suggestion

    Like

  • I wasnt aware of that. Good one and yes marry me laura 🙂

    Like

  • Alaa AL-Majali

    i have the same problem for Michelle Sweeney ,and followed the answer of adam , and still have the same error (my list inaccessible via any link (within the parent or child site) after adding the webpart to the parent site) and cannot open “Manage Content and Structure” from “Site Action” on child site. i found the answer which is so silly & simple : i go to sharepoint server ,from command prompt window , apply iisreset command and everything now is fine and accessable.

    Like

  • Brilliant! Thanks for the post Laura. Worked great, just what I was looking for and now I will have happy SP users. We just migrated to SP 2010 so I’ll be digging through all your SP2010 posts for good tips and info.

    Like

  • Hello! Im creating a template which must include this functionality and I just created a small script like this: $.get(‘../_layouts/viewlsts.aspx’, function(data) { createNodes(data); } but is seems like if I dont actually access the “view all content” page before loading this menu it just gives me the template of the page which includes no subsites at all. Does anyone have a workaround for this? Thanks

    Like

  • I have been able to put web parts uploaded to the site gallery from the top level onto sub sites like you described in bug alert 1, its just really funky to work with, and can trick you into thinking it won’t work, but with enough tenacity it does. I just did it for a client recently

    Like

  • Hi Laura, I tried the process mention in your post and also seen your youtube video, but still I am getting “invalid list template” error when I am adding a Blog Post list template on the Root site Home page from a subsite. I tried with content query webpart but using that I am not getting the “Summery View” which I want to show on the site Home Page. Please help.

    Like

  • Hello, not being able to import dataviews on blogs is really painful. Still no solution for the “invalid list template” error in sight? Best wishes, David

    Like

  • For those of you asking about doing a rollup with a blog site, I noticed that when you have a new my site, there is a web part that says “create a blog” and after you’ve created one it rolls up the posts. I dissected this, and found that it uses a server file called blog.xsl. Haven’t gotten far enough to write a post or anything, just thought I’d push you guys in that direction since the question is so common.

    Like

  • Thank you Laura for offering help! Looking into the logs I have found the following to entries just before the “invalid list template” error (it’s a German Sharepoint): – Failed to find tag corresponding to ID “301”, tried both onet.xml for site definition ID “20” language “1031” and global site definition. Operation failed. – Failed to determine the setup path of the list schema for list template 301. I did look into the xml-files such as onet, webtemp, listtemp, but my knowledge of the internals of list templates is poor – but perhaps these errors are a clue … The blog.xsl seems to be a file needed to customize the blog’s appearance; not sure if it is related to our problem. Best regards, David

    Like

  • thanks for this great guide 🙂 worked first time! But for some reason when place the webpart (i used the add to the webpart library not to the file method) i get the following message when i try editing ‘some’ of the list items.. “This item is no longer available. It may have been deleted by another user. Click ‘OK’ to refresh the page.” Any ideas? :/ i’m lorence.issa@gmail.com

    Like

  • Hi Laura, Thanks for you sharing. I successed with document library but failed in Blog’s post list. SharePoint shows “invalid list template”. so pain. Really need your reply on this. Thank you very much

    Like

  • for the blog-rollup, a workaround works: http://www.codeproject.com/Articles/93558/Displaying-a-SharePoint-List-from-another-team-sit.aspx. In the Sharepoint Designer, create the DVWP on a webpart page, export to the webpart gallery, and import to the page where it will be used. However, there is some effort involved in creating a suitable view for the blog, in modifying the ows_.. , setting proper links to the titles etc. – anyway, in the end it worked. The “invalid list template” however still is mysterious – bug or feature?

    Like

  • Thanks so much! This is great to know. I tried it out on my team’s SharePoint site collection, and it worked great.

    Like

  • Sharon, I’ve never done this with a list of blog posts. I was just guessing with the blog.xsl suggestion. I don’t know the answer. Just in general, this whole process seems to be very flaky.

    Like

  • Hi Laura, i have question for blog content display at home page, it any way to have the same feature in sharepoint foundation version ?

    Like

  • Hi Laura Thanks to you I am able to get data from a sub-site onto a top-level site. I can’t seem to figure out how to get the webpart to display as Read-Only. I seem to recall it being pretty straightforward in SP2007, but I can’t find the option anywhere in 2010. I don’t want people in the parent site to be able to edit the list. Thanks

    Like

  • Ryan, I don’t know off the top of my head, since you don’t have the CQWP. Dave, It’s just permissions on the list or library, not a web part setting. Whomever you want to have read access, give them that permission on the list or library.

    Like

  • Adam “However, like you, if I edited the list/library settings, say changed a field type, the list would become inaccessible again. What I found is if I go into SPD and open the list (in this case Tasks) and uncheck “Allow management of content types” and then save the changes, my list would all of a sudden become accessible again. I could even checkmark the “Allow management of content types option” and save the changes again, and it would still work. ” NICE Exactly . When the flag ‘Allow Management Content type’ is set the error occurs. Set it off !!!

    Like

  • Well this thread still looks rather alive, so I will go ahead and see if anyone has any input. This works well for libraries and list. But what we are trying to do is import a calendar maintained on another page to our main page. If I choose the “events” view or another view it works fine. If I choose the default view (1 month Calendar), I don’t get the option to save the web part, its greyed out. Any ideas on how I can make this work?

    Like

  • Keith, are you on sharepoint 2010? If so, there’s a new feature called calendar overlays that you can use instead. Go to your calendar and go to the calendar tab in the ribbon, and the calendar overlays button is there.

    Like

  • I followed the stesp to a T and after uploading – there was nothing in the spot where I wanted the list to appear. Nothng – blank

    Like

  • jennifer, It’s a bug in sharepoint 2010. You upload the web part, and then you click “add a web part again” and *then* you add your uploaded web part to the page.

    Like

  • It worked for me for all the documents from parent site to subsites. But when i added a folder in parent site and few docs in that. The folder apperas in webpart on subsite but on clicking on teh folder it gives an error: Item does not exist at “url” . It may have been deleted or renamed by another user. Please let me know if its works for folders and how.

    Like

  • Love u for this Laura…………… A million thanks……. Did this on Office 365……… The option of “To Site Gallery” also worked fine for me………

    Like

  • Hi Laura, I get the same issue as Nitin, On Office 365, I am displaying the shared documents from a sub-site on the parent site and the documents appear on the webpart, but clicking on them displays this error. “File Not Found. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: c4569ac2-bdcd-4f48-8239-804536aeda83” But, on the context menu (that comes when we hover) all the options work fine “View in Browser”, “Edit in Browser” and the “Edit in Word”. The URL of the errenous link appears like this “https://spsiteurl/_layouts/WordViewer.aspx?id=…..” and if i correct the link on the IE address bar like this “https://spsiteurl/Subsite/_layouts/WordViewer.aspx?id=…..” the documents opens in browser……… I tried to edit the link in advanced mode in SPD, but to no avail……… It would be helpful if anyone tells me how to edit this below code to get the right URL…….. Or if there is a better way……. to do the whole thing……. it is much appreciated….. I did try the Content Query Web Part………. but had the same issue with the link…….. Thanks in advance……. Regards, Thendral

    Like

  • Thendral, Sorry, I’ve never seen that happen. Here’s a post I wrote about different ways to accomplish something similar: http://www.sharepoint911.com/blogs/laura/Lists/Posts/ViewPost.aspx?ID=134

    Like

  • I made some headway on the Invalid List Template error. Our PROD environment is setup so that all connections go through an F5 to either the PROD1 front end server (in our datacenter) or the DR front end server (in another facility). I manually changed my Host file to force my connection to the DR server. Me (and another person who did the same) saw the Invalid List Template error where the Blog Post webpart should be. Remember that you need to clear your browser cache (not just history – find the literal files and delete all of them) AND terminate all browser sessions before logging back into the environment. Then we changed back our Host file to force connection to the PROD1 server (and repeated the browser cache cleaning and browser session termination as above). We both then saw the webpart working! We are working through the technical issues now (as we need this fixed for a specific user requirement) and I will update with our exact findings.

    Like

  • More on the “Invalid List Template” error. We have 2 front end servers (on-prem and DR in another location) with an F5 VIP that routes to either of them depending on traffic. We are seeing this error message only on one server or the other (verified by modifying my host file to hit one front end server or the other exclusively). So, the files that are making a difference seem to be in: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML. By copying these from one front-end server to the one that shows the error, it fixed the issue. In addition to this oddity, we found that upon seeing the “Invalid List Template” error at first – we waited until the next day. It seems that overnight, some nightly process actually fixed the issue (I assume by truing up the files on either front end server). Today, we are looking into what process is running so that we can be able to manually start it when we run into these types of errors in future. Can someone else confirm this?

    Like

  • Regarding Invalid List Template: So, we found that once we copied the files from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML on one front-end server to the other front-end server, the error no longer showed. We used Beyond Compare to compare the content of that directory but the files were exactly the same. We think that the difference must be further up in the tree. However, for the time being this worked for us.

    Like

  • Hi, I tried this on a dataform from a subsite list but it didn’t work. Is it at all possible? Is there any way to display a dataform from a subsite list on a top level site? Thx,

    Like

  • Laura, nevemind my previous msg. Found the answer to create a data form using a subsite list: http://www.codeproject.com/Articles/93558/Displaying-a-SharePoint-List-from-another-team-sit.aspx thx,

    Like

  • Joost van Wieringen

    Hi Laura, Great solutions, this works fine. It’s even better than the old way in 2007. Tnx. Joost.

    Like

  • Thanks Laura! It is working very well! I have concern about that sharing: I have created a sub site where I share a document libraries by using a web part (just to clarify I have created the webpart at the main site and insert the webpart at the sub site – works well for me). To give read access to the document libraries into the sub site to a user, I have to set document libraries permission (read) at the main site. Problem: The user could eventually, by deduction, may find the main site document libraries’s link and being able to see my main site. Do you have any recommendation to avoid this situation?

    Like

  • Brian, Wow, thanks for all the feedback! That’s a lot of great troubleshooting info. Stephane, If a user doesn’t have access to a site, and only a library within it, via SharePoint permissions, then there’s no way that they’re going to be able to get to the site, they’ll get an access denied message. So, I don’t think you have to worry about it.

    Like

  • Hi Laura, Hope you can help me I spend hours hours but can’t figure out after I “Connect to another library” to another site within site colection. I don’t see “SharePoint Lists”, all I see “SharePoint Libraries, Database Connections, XML Files, Businiess, Link sources” of a site I just added. Very appreciate your help on this matter. Thanks

    Like

  • Hi Laura, How can I allow users of a sub-site to search for content that’s shown this way but is held in the parent site. I’ve given the sub-site users contribute rights on the list. Thanks in advance….

    Like

  • Travis, That functionality doesn’t exist anymore in 2010. Duane, They could use good old sharepoint search. You could even create a custom scope. Otherwise, they can just look at the data they see in the web part and sort and filter. I also wrote another post about using the text filter web part. Maybe you could try that. https://wonderlaura.com/2010/7/2/the-text-filter-web-part-without-having-to-filter-exact-text

    Like

  • I love this post. I was actually able to show Top Level list on a Subsite by using this process. (In reference to your bug #1). The only issue I see, is that if you make a change to the list such as the type of a column, the exported web part will break on the other site. Any one else have this problem?

    Like

  • This worked great. Thanks.

    Like

  • Beau, I’m not surprised that you’ve come across that being the behavior, because it does the same thing with data view web parts, and always has. You just need to know that when fields get removed or changed, that you’ll need to re-create that web part.

    Like

  • Hello,
    Thanks for this post , this si a functionality I’ve been looking to have. I having an issue with it and thought you could provide some insight.

    I have a site with several sub-sites. Subsite A is blog style and I have proceeded to save the Posts list to the Site Gallery (making sure to link it to the sub-site so it always shows that subsites posts) following the above instructions. However when on the Master site and editing the main page I attempt to insert a webpart (and under the Miscellaneous category, up shows my save webpart from the blog subsite A) and receive the error messge “Invalid List Template”. As the Master site is a blank site (not a Blog site) I’m leaning towards this being an issue wherein the Master site does not actually have the template for the blog Subsite A’s Posts list.

    Thoughts?

    Thanks,
    Rod

    Like

  • Tom,
    You can do this with a Content Query Web Part, which is available if you have the publishing features enabled. In the CQWP settings, pick “show items from the following site and all subsites, and pick your blog site. Then, in the list type drop-down box, pick Comments.

    Like

  • Thank you so much ! i have trying to work on this since one week and i came across your info and i was able to display my subsite info on the main site !!!

    Thank you so much !!!

    Like

  • Laura, I used your technique and have display a document library from one sub-site to several other sub-sites under the same site collection. The library is working out fine. However, the standard Shared documents web part on all the sub-sites, where I inserted the reused document library, is now somehow broke. If I try to add the standard Shared documents webpart to a sub-site, I get an error: the list does not exist or may be deleted by another user – Korrelations-id: 4ed6e8fc-68e1-409d-bd90-8c22db42094f . Please help …

    Like

  • Laura, This post was very useful to me.
    Thanks.

    Like

  • One more thing I would like to mention is that this approach works to & fro i.e. you can view preant site info on su-site & vice versa.

    I’ve tried both & they are working fine for me.

    Thanks!!

    Like

  • Hi Tina,
    I have to admit, this one is a hit or miss for me. Sometimes it’s buggy and I can’t tell why. I’ve spent hours of my life trying to troubleshoot this silly web part.

    Like

  • Hi,

    This is a great method to get list data from one sit on another. I have tried it and it works. I recently tried to use it on publishing site layout and could not get it to work on a layout with a webpart zone. I have a public facing 2010 publishing website in development. I have 8 subsites below a public top level site. I have a news list on my top level site that I want to push to each subsite. That way the news is controlled in one list rather then 8. Each subsite filters the news list by editing the website and changing the filter settings in the “current view”. The person managing the news list controls what news is on each subsite by the categories of the news item record in the news list. The individual newspart filters based on the category. The ideal way to deploy the webpart is on the various page layouts. When a user creates a page the webpart is preloaded on the layout. The user then edits the webpart to set up the filter. This works great when I am in the top level site but does not work in the subsite. I can’t use my webpart on a layout that has a webpart zone. It does not even matter if the webpart is even in that zone. The page never creates. I get the dreaded “ the list does not exist “ message. ( I did follow Shane Young’s work around above for subistes.) I can take my layout and remove the webpart zones and add the webpart directly to the layout instead of in a zone. Only then can I get a page created with the webpart on the layout. But that defeats the purpose of what I am trying to do because without a webpart zone the user can’t edit the webpart to filter it.

    I am just wondering if anyone else has successfully deployed a wepart that gets data from another site list, on a publishing page layout in a webpart zone.

    Like

  • I think ianswered my own question.

    I found the answer in a blog by Chris O’Brien. http://www.sharepointnutsandbolts.com/2007/11/master-pagespage-layouts-deployed-as.html

    Here is the operative phrase.

    “This is because if web part zones are used, the web part is associated with the page instance rather than the page layout”

    Basically webpart zones can’t be used in page layouts when you are trying to pull data from another site. Basically sharepoint does not know how to resolve where the list or webpart are because of the zone. That is why I kept getting “list does not exist” page creation error when I tried to create a page using a page layout with my webpart that got data from the top level site. It is never going to work. I hope Microsoft addresses this in the future.

    Like

  • Hi laura,
    I need ur help immediately how can i solve this problem with office 365 when i delete document from listview webpart this error is coming List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user – SharePoint 2010 error

    Like

  • Hi Laura,

    I’m a big fan of your site… I’m on here almost weekly trying figure out how to fix one thing or another.

    Our company wants to have multiple discussion groups available in our child sites with a way to view all in one list to monitor the discussions. Since connecting them all together is quite a pain, I decided to create one Discussion Board on the Parent site and the display them based on their content on the child sites.

    I could get this to display the data by exporting the web part, but when clicking on any of the content a huge error would appear. The error was referring to the data being moved or deleted. It was looking in the child site for the data instead of the parent site. Even thought I specifically chose the option upon exporting in Developer to retain the connection to parent.

    I’ve tried it a couple of times to the same problem. Do you have any thoughts as to how I can get this to work properly?

    Like

  • Matt,
    I think you’ll need to create a custom Hyperlink on those items in the child web parts you’re creating. For example, click the name of a topic in that top level discussion board, and then copy that url. Use that url as the basis for what you create in your web part, just substitute the ID=_ or whatever is unique to that one thread.

    Like

  • Hi.
    This is a greate thing to show parts of documentlist in another site. I have constructed a site where we like to show parts from other sites. This have workt good but suddenly a get the error “list does not exist” (translated from swedish) when a upload the webpart into the page. Now i trying this in other siter sites with the same result. Can it be some limitaion on the number of this kind of solutions i a sitecollection? Or do you know of any solution to this?

    Like

  • Bengt,
    I’ve gotten that error a couple of times, and never could figure out how to get around it. Take a look at some of the other comments on here, they may help you.

    Like

  • Thanks for this guide – it’s come in really useful for me.
    A tip that might overcome the ‘funky upload’ issues:
    Go to Site Settings, look under ‘Galleries’ for ‘Web Parts’ and select it. The list of existing web parts will be shown.
    On the ‘Library Tools’ contextual ment that appears at the top, click the ‘Documents’ tab. Click the ‘Upload Document’ button and browse to where your Webpart is saved.
    Works much more stably (is that a word?!) than the other method.

    Like

  • Laura,

    Your site and knowledge is greatly appreciated! I’d given up trying to do something like this – and was using CQWPs – until I stumbled upon this post and webcast. It’s working and I’m thrilled!

    I’m using this function on a portal page of a parent site that displays discussion boards from multiple sub-sites. I’ve created the web parts using this process and it’s working perfectly for multiple discussion lists from the same sub-site (‘site A’). However, when I introduce a web part originating from a list on a second sub-site (‘site B’), I get the ‘invalid list…’ error for that one web part pulling content from the site B. All site A web parts still function as expected.

    The really fun part is that when I delete all of the web parts pulling from site A, the web part for site B works! I’m wondering whether there is a connection limitation. I’ve toggled the ‘send first row to connected web parts’ but that hasn’t done anything.

    One of the comments above about connections / cached files / server duplication made me wonder if there is some type of connection limitation that I should be aware of. BTW, the same page has a an RSS feed on it, if that makes any difference.

    Once again, thank you for your excellent work, we appreciate what you’re doing for the SP community.

    Like

  • Hi,

    I am having the same problem as a few other people. When I go into SharePoint Designer and select the WebPart the Save WebPart button is greyed out and I can’t save it. This occurs with lists that have been custom created. For instance, we used the fab 40 web parts for Projects and then upgraded to SP 2010 and these lists I am not able to save the webpart. Any ideas if there is another way to save these webparts or how to get around this would be greatly appreciated.

    Like

  • Here is a picture of the what I am seeing basically the custom lists I dont get the save Web Part options, maybe there is a better way to do this?

    Like

  • James,
    Sure, yes, that’s a great method if you need to use that same web part over and over and in different places.

    Leonard,
    That behavior doesn’t surprise me, but I’m not sure what can be done about it, unfortunately. Probably something in the code, but I don’t know what.

    Paul,
    I’ve never seen that happen, but if you’re only seeing that problem with the fab 40, I’d blame them. There are all kinds of bugs and upgrade issues and stuff around the fab 40.

    Like

  • Hello Laura,
    I’m trying to show a list from the Parent on a page in a Subsite.

    I found a link/forum in which you posted: http://social.msdn.microsoft.com/Forums/en/sharepointgeneralprevious/thread/92adebdc-f8db-4a51-b046-c5abdb7e8ad8

    Then I found the about entry you made.

    Can you help, I seem to be stuck.
    I cannot get past the import process of the webpart to the child site.

    Thanks,
    Rocky Wiethorn
    rwiethorn AT gmail dot COM

    Like

  • Sorry Rocky, I don’t know what you mean that you cannot get past the import. What is the error? Unfortunately, this whole solution is very buggy and it seems that half the time it works and half the time it doesn’t. I’ve seen varying behaviors across multiple client environments.

    Like

  • This seems to work great except when you add more than one webpart of this kind.

    If I add the second webpart, change some formatting and click save, I get the “List does not exist” error. If I just go back to the page, both webparts are there, and render fine; however each time I edit something about the webpart the error comes up.

    Anyone else encounter this or have a workaround?

    Like

  • Hello Laura,

    I have the same problem as Thendral. I added a library weppart to a the parent site. It works fine, except that when a user clicks on the document name the system throws a File not found error.

    Documents opens using Word webapp by default. When the user clicks on the document the word webapp starts. Looking at the URL that triggers the Word webapp I noticed that the path to the subsite is missing and this is causing the problem.

    Maybe you can reproduce the problem and help me find a solution.

    Thanks in advanced,

    Jimmy

    Like

  • Beautiful.
    Just what I needed, when I needed it. So here’s my next question and maybe you can point me in the right direction?
    Top site with all the docs in a site collection library, using metadata navigation. Departmental subsite with your solution here to display just the department’s documents. And it works great (with a tweak or two – thank you so much!).
    But where’s the little metadata navigation window on the side? Any way to add that easily, without breaking out Visual Studio? Maybe turn the <Sharepoint:UIVersionedContent … id="TreeViewNavigationManagerV4" thing into a webpart or something just as easily?

    –IheartLaura

    Like

Leave a reply or question

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.