Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way to use the SharePoint ListVeiw web part to display documents contain in a Document Center site collection?

We are not seeing a way to use this web part and point it to a Document Library located in a document center.

Thanks

share|improve this question
add comment

2 Answers

Since almost all solutions I design go across site collection or even web application, I have pretty much abandoned list view web parts, content query web parts etc, unless for very specific purposes. Instead I use search. Either by configuring an Out of Box search result web part with a static query, or inheriting from search result web part and creating a custom one if needed. All you need to do is to figure out the Keyword Query and the XSLT.

In fact we even use this approach for top navigation across site collections...

Find Keyword query syntax here. Find guidance on customizing search results here

share|improve this answer
    
One other alternative is to use OData (REST) via ListData.svc –  C. Marius - MVP Mar 15 '12 at 8:37
add comment

ListView web parts don't go beyond the site the list/library lives in. If you want to see data from another site or site collection, you need to use page viewer web parts, dataview web parts or third party tools like the lightning conductor web part from lightning tools.

share|improve this answer
    
not sure about page viewer and DVWP, but CQWP doesn't go across site collections. –  Anders Rask Dec 14 '11 at 18:37
    
Not natively, I thought it could be extended to do so though. –  PirateEric Dec 14 '11 at 18:42
    
no unfortunately not. It fetches data from SPSiteDataQuery which is limited to site (as the name implies;-) –  Anders Rask Dec 14 '11 at 18:46
    
I think DVWPs don't go across site collections either. –  Christophe Dec 20 '11 at 19:30
    
that is correct, i ment SPSite aka Site Collection :) –  Anders Rask Mar 19 '12 at 19:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.