SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go about toggling the list/library source of a listview web part, based on the link that a user selected? I was just going to try and make seperate calls to the REST API using jQuery for SharePoint, but it seems like I'd have to manually construct the presentation. It be nice if I can just programmatically set some source property with the internal name of the list, then get the nicely presented view that's OOB.

Any help or guidance would be most appreciated.


share|improve this question

it sounds like you are using all oob webparts. In this situation - if I'm understanding it correctly - I would use jQuery to handle your presentation. If it's custom webparts then I would handling completely different (all in the webpart itself). So, I think your on the right track by using jQuery if I'm understanding the situation correctly.

share|improve this answer

Your Answer


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.