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

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
add comment

2 Answers

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
add comment

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

share|improve this answer
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.