DVWP - add hyperlink that views to another site list item RRS feed

  • Question

  • I created a data view web part that has a look up column. This look up column gets the data from a list that is in another site.

    With the DVWP, I want to add a hyperlink in my lookup column that sends them to the item in the other site.

    This is the code on my look up column.

    <td class="ms-vb">
        <a href="../TSSPM/Lists/Policies/DispForm.aspx?ID={@ID}">
        <xsl:value-of select="@LookupPolicies"/>
    Instead of the @ID part, i want to know what I should put in there to get the ID of the @LookupPolicies value from the other site's list.  Currently, the ID is pulling from the current list.

    Please advise

    Thursday, July 26, 2012 12:03 AM