0

Using SharePoint Designer 2010 I created a Linked Data Source that merges two lists. Then I inserted a Data View and select the linked data source I created. The problem is that I want the Title to be a link to display the selected item, but when I insert the LinkTitle field it does not include a link, just the Title text.

1 Answer 1

3

Solved this by using one of these links with the title.

Link to view item in popup window

<a href="javascript:OpenPopUpPage('{@FileDirRef}/DispForm.aspx?ID={@ID}');"><xsl:value-of select="@Title"/></a>

View item without popup. The GoToLink adds "source" to URL so it will return to the site with the link.

<a href="{@FileDirRef}/DispForm.aspx?ID={@ID}" ONCLICK="GoToLink(this);return false;"><xsl:value-of select="@Title" /></a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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