none
How can I share a document library between sites or site collections RRS feed

  • Question

  •  

    Dear NG,

     

    How can I share a document library between multiple sharepoint 2007 sites and sub sites or workspaces?

    I have serval document libraries that I want to share between multiple MOSS 2007 sites and sub sites.

    I also want to be able to add and update the shared document libraries from any of the sites or sub sites
    and have the changes show up in all sites that use the document library automaticaly.

     

    Thank you for your answer.

     

    Best

    Monday, May 26, 2008 6:54 PM

All replies

  • You cannot technically share a document library across sites, but you can create a data view of a library that will work in any site on the collection. The library will still actually be hosted in its "real" location, and your users will need permissions to get there.

    • You need to open a site other than the one the library is really in, but on the same server namespace (e.g. http://myserver/realsite and http://myserver/targetsite), in SharePoint Designer.
    • Open any web part page.
    • Go to the Data Source Library task pane.
    • Click Connect to another library
    • Enter the URL of the document library's real site, and a descriptive name.
    • From the newly connected library, create a data view of the library you want shared.
    • Format the data view appropriately (converting the URL fields to links, etc...)
    • Save the page.
    • Open the page in IE
    • Export the document library view web part.
    • Import the file to other webs on the server as needed.

    Note: It is critical that you do this in a web other than the web which is home to the document library you are trying to share. Otherwise, the data view will not work in a different web. This only works for webs within a site collection.

    • Proposed as answer by AaYassine Tuesday, April 17, 2012 6:45 AM
    • Unproposed as answer by AaYassine Tuesday, April 17, 2012 2:26 PM
    Monday, May 26, 2008 11:16 PM
  • Here's one way I've approached it, http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=49

     

    You can't do exactly what it is you're trying to do, so the best you'll be able to do is some workarounds like Woody and I suggest.

     

    tk

    Tuesday, May 27, 2008 1:53 AM
  • >Note: It is critical that you do this in a web other than the web which is home to the document >library you are trying to share. Otherwise, the data view will not work in a different web. This only >works for webs within a site collection.

    It's perhaps worth noting that this side-note applies to the entire technique (which thus includes the Export and Import steps).

    It IS possible to create a Data View Web Part when in the web which is home to the document library and it will work fine. There.

    The full (Woody) technique can be usefully used if you are placing the same Data View Web Part in many locations. If you are only using it in one (additional) location, you don't need the Export/Import steps; and you can use it in the same web as the document library, but the restriction to the same site collection still applies (in v3).
    Tuesday, May 27, 2008 4:33 AM
  • I did everything exactly the same way you posted except I needed only specific documents shared.  I created a separate link doc library that were held in Doc set with a specific ID.  Made the URL formatting much easier. 

    Although this was done in 2007 and I used 2010.

     
    Monday, October 8, 2012 6:59 PM