Paul Galvin's (old) SharePoint space [SharePoint

Just another WordPress.com site

SharePoint Designer, Current Item’s “Encoded Absolute URL” and HTTPS

We often want to send an email that includes a hyperlink to the item or document that triggered the workflow.  We can use current item’s "Encoded Absolute URL" for this purpose.  However, it always seems to use "http" for the URL protocol.  If your site runs on HTTPS then it will not work for you.

As far as I know, there is no out of the box solution to this problem.  If you need to use HTTPS, you have no out of the box option.

To solve it, create a custom action that provides a string replace function to use in your workflow.  Alternatively, use a 3rd party tool such as the excellent package here: http://www.codeplex.com/spdwfextensions 🙂

</end>

Technorati Tags: ,
Advertisements

4 responses to “SharePoint Designer, Current Item’s “Encoded Absolute URL” and HTTPS

  1. Jeff January 12, 2008 at 10:34 pm

    Do you have an example of the custom action in C#?  Thanks for the information.
     
    Jeff
    http://www.sharepoint-blogs.com

  2. Joe June 20, 2008 at 9:03 am

    For me the Encoded Absolute URL does not encode correctly.  e.g. I get http://intranet/sites/lists/mylist/99.000If I try using the [LISTNAME:Path] it does not encode correctly either if there is a space in the list name.  e.g. \’my list\’ should encode as \’my%20list\’ but it outputs in the email URL as \’mylist\’.This happens for http (haven\’t tried for https:)Any suggestions?

  3. Boris April 23, 2009 at 5:29 pm

    Detailed information is shown in the Online Sharepoint Designer Help:http://office.microsoft.com/en-us/sharepointdesigner/HA102390421033.aspx?pid=CH100667661033There is also a solution how to manually build a correct link by only using the ID function and how to store this path in a workflowvariable.Boris

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: