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

Blog


    November 09

    SPD custom workflow actions -- string manipulation enhancements

    About a week ago, I started up a codeplex project that provides a simple and reasonably generic method for adding custom action functions to SharePoit Designer workflow.  It's described here: http://www.codeplex.com/spdwfextensions.  Beyond simply providing a framework, it also aims to provide a set of useful functions that will make SPD more useful/flexible/powerful. 

    Here are the current planned features for version 1.0: https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=spdwfextensions&ReleaseId=8280

    If anyone has any interest in this project, please leave a comment or start/add to a discussion here: http://www.codeplex.com/spdwfextensions/Thread/List.aspx

    Here are the current set of functions that have been coded (though not fully tested as of 11/08/07):

    Function Description (if not same as .Net function)
    Num-entries() Returns the number "entries" in a string as per a specified delimiter. 

    For example: Num-entries in a string "a,b,c" with delimiter "," = 3.
    Entry() Returns the nth token in a string as per a specified delimiter. 
    Length String.Length
    Replace() String.Replace()
    Contains() String.Contains()
    Returns the word "true" or the word "false".
    Substring(start) String.Substring(start)
    Substring(start,end) String.Substring(start,end)
    ToUpper() String.ToUpper()
    ToLower() String.ToLower()
    StartsWith() String.StartsWith()
    Returns the word "true" or the word "false".
    EndsWith() String.EndsWith()
    Returns the word "true" or the word "false".

    Comments (1)

    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.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Mike Mongeauwrote:
    As mentioned before, I am still interested in providing any efforts in terms of testing these functions.

    -Monjo
    Nov. 10

    Trackbacks

    The trackback URL for this entry is:
    http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!310.trak
    Weblogs that reference this entry
    • None