3

In SharePoint 2010, I have created a custom list and I want to be able to display a single row of this custom list on page. But I do not want to create a separate page for each row.

I would like to be able to pass a url parameter with the row id or something.

for example:

I would have one page called rowview.aspx

where http://mysite.com/rowview.aspx?id=1 would show all the information in row 1

And http://mysite.com/rowview.aspx?id=2 would show all the information in row 2

Is this possible (and easy) in SharePoint 2010? or would I need to write a custom web part or something?

3

Yes that is possible with out of the box web parts. You can leverage data view web part to display items from your custom list and query string filter web part to send filter values to the data view webpart. Check out a nice series of articles here: http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=676af157%2D7d96%2D4e15%2Da987%2D54b8a3e4d948&ID=77

I think the 3rd article in the series is what you need.

2
  • oh awesome thanks. The third one was almost exactly what I was trying to do.
    – icchanobot
    Dec 5 '11 at 5:41
  • 3
    the provided link is a dead link Feb 27 '15 at 22:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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