URL String DVWP launch EditForm.aspx with Infopath view from List View

Paste this into the first column in a List view, it will show edit button and launch forms. Just change the parameters to suit.

<a href="/sites/projects/17/Lists/BPProjectWorkItems/EditForm.aspx?ID={@ID}&amp;DefaultView=Task&amp;Source=http://bp.rlan.ca/sites/projects/17/Lists/BPProjectWorkItems/Tasks.aspx"><img src="/_layouts/images/edititem.gif" class="style1" /></a>

Advertisements