Tuesday, July 20, 2010

SharePoint Designer Workflows - Custom String Actions

It's been a while since I've posted anything, but thought I'd put this one up.

I've just finished creating a project on codeplex that adds a bunch of standard .Net String functions, and a formatting function for DateTime values, to SharePoint Designer workflows.

With the WSP deployed to the codeplex project, the following methods are made available as SharePoint Designer Workflow Actions, simply by deploying the WSP and activating the Web Application feature contained within:

  • Contains - .Net String method

  • EndsWith - .Net String method

  • Entry - custom procedure that uses the delimiter provided to split a string, and return the entry occuring at the position provided

  • FormatDate - .Net DateTime method

  • IndexOf(string) - .Net String method

  • IndexOf(string, startIndex) - .Net String method

  • Length - .Net String method

  • Num-Entries - custom procedure that uses the delimiter provided to split a string, and return the number of entries

  • Replace - .Net String method

  • StartsWith - .Net String method

  • SubString(start) - .Net String method

  • SubString(start, length) - .Net String method

  • ToLower - .Net String method

  • ToUpper - .Net String method



You can find the SharePoint Designer Workflow String Actions project here.

2 comments:

  1. If I email a blog and want to remove the 514 character disclaimer, would I be able to do that with this in SPD?

    ReplyDelete
  2. Nice set of custom actions ... thanks!

    ReplyDelete