Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a workflow that sends an email when a new item is added to a list. The email includes the creator of the new item, which uses a lookup value.

CurrentItem-CreatedBy-String = [%Current Item:Created By%]

which when emailed, comes out with the following format

i:0#.w|Domain1\ddono25

I understand that the beginning "i:0#.w|" is because of the claims authentication, but is there any way to strip that portion out when an email is sent?

share|improve this question
add comment

1 Answer 1

You should have the option to select the Display Name or User Name(among other options)

enter image description here

share|improve this answer
    
Yes, those are the exact options. In this case, we wanted to be able to see the username along with the domain. Like for the example above, using "As String" comes out as "i:0#.w|Domain1\ddono25", email comes out as "Ddono25@Domain1.com", DisplayName does not have the <domain>\<username> that we would like in the email, etc. –  Ddono25 May 2 '13 at 21:36
    
As long as you don't use a federated location or external claims provider, the claims prefix will be 7 characters long. As a workaround, you could use the utility actions "Extract from a string..." from that account and output into a string to use... wictorwilen.se/Post/… –  Mike May 2 '13 at 21:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.