Get firstname only from People or groups column
Get firstname only from People or groups column
(OP)
Hi All,
I am trying to send the email from the sharepoint by using the firstname only from group or persons column.
Let's say the fullname is John Smith.
Atm, in the email header it's showing like this:
I would like showing as below:
The column name called "Assign To"
The code looks like this:
It looks simple but I can't crack it for few days.
Any help would be appreciated, Thank you...
I am trying to send the email from the sharepoint by using the firstname only from group or persons column.
Let's say the fullname is John Smith.
Atm, in the email header it's showing like this:
CODE
Dear Smith, John, Task has been assigned for you
I would like showing as below:
CODE
Dear John, Task has been assigned for you
The column name called "Assign To"
The code looks like this:
CODE
Dear [%Current Item:Assign To%],
It looks simple but I can't crack it for few days.
Any help would be appreciated, Thank you...
RE: Get firstname only from People or groups column
RE: Get firstname only from People or groups column
Doing this, more or less will query the User Profile data source, and you will want to query by your Assign To field.
If needed, I can post a more detailed how-to.
http://www.sharepointed.com/