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

i want to add a page where users can view and edit a list, problem is the list is not in the site but rather in its parent site. I also want to be able to filter the list so they can only see a items that have a predefined value in a certain column, Anyone ?

Thanks ! (i did some research but nothing i tried was successful)

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

I think you should try using Content Query Webpart(CQWP) in your site. You can fetch data from your parent site by using it.

here is a link which might be helpful.

http://pravahaminfo.blogspot.in/2012/02/content-query-webpart-cqwp-in.html

share|improve this answer
add comment

SharePoint out-of-the-box doesn't allow you to display list views from other sites. You have a couple of options though:

1) Use a third-party tool

2) Write a custom web part or application page in Visual Studio that queries the list data from that site and displays it using a GridView or other control on the page.

share|improve this answer
    
is it possibly references and not a copy so they can still edit it ? –  Dr.Denis McCracleJizz Oct 11 '12 at 20:16
    
Using a third-party tool or writing some code to do it would query the list from the parent site (so it only exists in one place). You could save it as a template and re-create the list in multiple places if you wanted (after each list was created, it would be independent of the template). –  John Chapman Oct 11 '12 at 20:19
    
I understand but i would need it to be referenced, so when an element is modified in the child site the same element in the parent would also be. Is there a way to achieve this ? Linking the list on child page with a specific view that would have filters ? I can also deploy code i just dont know what to do in terms of design... –  Dr.Denis McCracleJizz Oct 11 '12 at 20:40
    
Right, so building a web part that queries your parent list and displays it in the web part would work. Here are some tutorials to get you started: Custom Web Part (dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/02/15/…); Querying Lists from C# (sarangasl.blogspot.com/2009/09/sharepoint-list-c-part-1.html). –  John Chapman Oct 11 '12 at 20:50
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.