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

Is it possible to pass column data as query string to custom dispform.aspx when view item is clicked ?

For example, if my custom display form name is MyDispform.aspx and when list item is clicked it will open my display form like MyDispform.aspx?user=participant where participant is the column name of the item.

share|improve this question
up vote 1 down vote accepted

Yes, you can do this. You will need to use some custom XSLT to create your link but it will be something like:

<a href="MyDispForm.aspx?user={@Participant}"><xsl:value-of select="@Participant" /></a>

Then, as indicated by Paul you will need to make sure your custom form does something with the parameter.

share|improve this answer

The default list forms do not adapt behavior based on query string parameters.

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.