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

In SharePoint Server 2010, We have a List with items and their details. User profiles have an indexed field that contains items matching the list titles. I want to display a dataview with just the item titles- When the user clicks the title I want to send the selected row to a connected webpart that will display all the details for the selected item AND ALSO to send the title of the selected row to a PeopleSearch Results webpart on the page and perform the search. Preferably all this would be done with AJAX/without a postback.

I can connect the titles to the details, but I don't know how to ALSO update the search results. I want to do this w/o any custom webparts. I'm OK with using javascript/jquery. Any suggestions?

Thanks

share|improve this question
add comment

1 Answer

I'd definitely go with jQuery if you don't want a postback. You won't be able to do anything with Web Part Connections without that postback, but you can call the Lists and Query Web Services and probably accomplish what you describe. Take a look at SPServices for this: http://spservices.codeplex.com

share|improve this answer
    
if I use jQuery, would the recommendation be to put a search webpart on a separate page then use jquery to do a call to that page, passing the query parameters I want - then basically screenscrape the results area and put them on the main page? I was hoping there might be some built-in SharePoint 2010 methods to do this kind of thing... –  user3156 Apr 25 '11 at 14:05
    
Search is available in the SharePoint Web Services. It is also available in Marc's library: spservices.codeplex.com/… –  Christophe Apr 27 '11 at 1:13
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.