Skip to content

Parse Form Email Subject Line in SharePoint With Calculated Columns

by on October 10, 2014

Create a form that can send to SharePoint email internally (you could also expose an email to the world, but that is another post and off topic). Enable email in a SharePoint library then use the calculated columns to parse the content.

Example Subject

[[userID:bettyboop]][[memberID:98522112545]][[isDental:False]][[isVision:True]][[planYear:2015]][[payFreq:Bi-Weekly]]

Example Column

=MID([E-Mail Subject],FIND("[[isDental:",[E-Mail Subject])+LEN("[[isDental:"),FIND("]]",[E-Mail Subject],FIND("[[isDental:",[E-Mail Subject]))-(FIND("[[isDental:",[E-Mail Subject])+LEN("[[isDental:")))

Workflows – Optional

One workflow to create a new item in a task list using the calculated columns to fill appropriate fields.

One workflow to build a title for the task containing important “at a glance” info, including the item ID so you do not ever have duplicate titles.

image

Advertisements
Leave a Comment

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: