Using URL of list item in SharePoint workflows

October 24th, 2008 | Categories: Applications | Tags:

This should be more simple than it is.  The short of it is that you need to construct your own URL.  And don’t use spaces in your List names.

This is a link to the <a href=”http://intranet/[%LISTNAME:Path%]/DispForm.aspx?ID=[%LISTNAME:ID%]“> list item</a>

The item “intranet” is the path to the root of your SharePoint site – “http://sharepoint.yourcompany.com/”

[%LISTNAME:Path%] is the lookup item from the workflow email message builder – “Current Item” (first selection) “Path” (second selection)

[%LISTNAME:ID%] is the lookup item from the workflow email message building – “Current Item” (first selection) “ID” (second selection)

  1. Tom Ciry
    January 28th, 2009 at 17:43
    Reply | Quote | #1

    Thanks for the post. Is there a way to set it up so that when the end user clicks on the URL, it opens in a separate browser window?

  2. January 28th, 2009 at 17:47
    Reply | Quote | #2

    Yes – just include target=”_blank” inside the anchor tag.

Comments are closed.