Understanding Data View Web Part in SharePoint 2010

Let’s see how we can connect a Display Form for a list to a Data View Web Part (DVWP).

First create a new Display Form for your respected listed.

image

Next insert a new DVWP using the list you want to link to.

image

Next you add or remove the columns to display.

image

Add a new Parameter using the Query String Source. In this case the ID field.

image

And last add a new Filter. Where you select the Form Field to send to the Query String Parameter to filter the DVWP list.

image

TIP : When defining the filter Value field, make sure you browse to the bottom of the drop down list, in order to see the Filter Parameter Value option.

This result looks like this.

image

Enjoy !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: