Thursday, July 21, 2011

Creating a Url hyperlink in SharePoint Designer

Unfortunately, as you may already know, SharePoint Designer 2010 does not offer a great way to obtain the Url  and hyperlink to an item such as a List within SharePoint.  Of course, this makes it very difficult when you are composing e-mail messages within SharePoint Designer to send as part of a custom workflow.

Even though the solution is definitely less than ideal, the solution I discovered was this:

  1. Use the Extract Substring from Start of String action to extract the base Url from the Encoded Absolute Url
  2. Use a Workflow variable and the dynamic string builder to concatenate this value with the Current Item:Path for the list
  3. The resultant Url stored in the workflow variable should be the correct Url to the List

No comments:

Post a Comment