The Art of SharePoint Evolution

Stories from a SharePoint Engineer that isn’t afraid of Visual Studio.

Custom SharePoint Designer Subject Lines with Calculated Fields

with one comment

A way long time ago (back in October) I was working on building workflows with SharePoint Designer 2007 but for the life of me couldn’t figure out how to make custom Subject lines. Out of the box SharePoint Designer will only let you select one workflow variable or one field from the current item to display in the Email Subject. It will not let you build dynamic strings with multiple values. So I was digging around for a while and Paul Galvin
gave me a hint about using a workflow variable to build the string and then plugging that variable into the Subject line. That worked great. So I was thinking hmm… how about calculated fields… And guess what? That works too! So here are your 2 options:

  1. Define a String Variable in SharePoint Designer:

     

    OR

     

  2. Use a Calculated Field to store a string with item information:

     

So which way is better? I think it depends on whether or not you want to make that field viewable by your users or not. Variables stay hidden in the workflow data while Calculated Fields will be part of the item and can view viewed. What do you think?

Written by Henry

January 7, 2008 at 9:02 pm

One Response to 'Custom SharePoint Designer Subject Lines with Calculated Fields'

Subscribe to comments with RSS or TrackBack to 'Custom SharePoint Designer Subject Lines with Calculated Fields'.

  1. What about this solution: http://www.codeplex.com/iconset

    Stefan Costan

    29 Oct 08 at 11:35 pm

Leave a Reply