Paul's profilePaul Galvin's SharePoint...BlogListsSkyDrive Tools Help

Blog


    December 18

    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.

    image

    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: ,

    Comments (4)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.
    Paul Galvin has turned off comments on this page.
    lwrote:
    Aug. 7
    No namewrote:
    Detailed information is shown in the Online Sharepoint Designer Help:
    http://office.microsoft.com/en-us/sharepointdesigner/HA102390421033.aspx?pid=CH100667661033
    There 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
    Apr. 23
    Joe Breenwrote:
    For me the Encoded Absolute URL does not encode correctly.  e.g. I get http://intranet/sites/lists/mylist/99.000

    If 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?
    June 20
    Do you have an example of the custom action in C#?  Thanks for the information.
     
    Jeff
    Jan. 12