- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 02:11 AM
Hi,
I have the email client enabled from the change_request table. I have started configuring the template and it's ALL GOOD!
However, one thing I am unsure of - I want the person who is opening the email client to be CCd in by default (as they would typically want to loop themselves in, and opt-out if necessary - rather than vice versa). This user is unlikely to exist within a field..
I have tried putting the following values into the CC of the email template:
gs.getUserID(), current.user.email, getUserID(), me(), user(), userID(),user, me, userid, userID, getUser, current.user,
to no avail! I have tried searching, and I have previously seen it done so know it is possible!
Any help much appreciated..
(sorry if this is the wrong area, it's not specific to change although that is where I am applying it...)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 03:15 AM
Hi
If you are trying to get the email of the person who is sending the email now (ie, not necessarily the person that opened the call) use javascript:gs.getUser().email
This will populate the CC field with the current users email address.
Regards
Nathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2016 05:02 AM
Thanks both - this is about the person raising the email - not any user specifically existing in the record so it was the syntax: javascript:gs.getUser().email that I needed.