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 have some custom html/jquery form stuff on a page, and I would like to update a LVWP on another part of the page if a user adds something. So for example, the list view web part just shows items on a list, but I need them to go through my form to add a new item since there are numerous relational lists that get updated. Not a big deal that all works. But I do want to use a LVWP to show all requests currently being worked per the userID of the person submitting. So this is quite the overall parent list, and there may be multiple items that need shown.

Bottomline is I have all this worked out except, how can I pass a parameter/variable to a LVWP that is one a page using javascript/jquery? Each time the user adds an item, I would like to refresh the view and pass new ID for the LVWP to use as a filter like a query string or something?

Does this make sense? All help is always appreciated!

share|improve this question
Could it be you are looking for something like this:… ? – eirikb Sep 25 '12 at 18:55
lol. perhaps but i get how you call that in a dialog, how can i use that if its a static webpart on the page? the idea is exactly what I need, I just don't know how to use it in that way. thanks – Justin Sep 25 '12 at 19:03
Any XSLTListViewWebPart will pick up the querystring and filter based on it. I use this to enable simple "search" functionality over a set of XSLTListViewWebParts with different views. A simple input and some JS setting window.location.href – eirikb Sep 25 '12 at 19:24

Your Answer


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

Browse other questions tagged or ask your own question.