- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 08:11 AM
Hi,
I want to remove the date & time stamp and user info from my email notification and only want the text message. I am doing it on comment field for RITM.
Kindly help me to fix this
Thanks in advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 09:37 AM
Your mail script would look something like this. Note, this is not a drop-in solution. You should understand what it does and make appropriate modifications for your table, field, and desired results.
var comment = current.comments.getJournalEntry(1);
var dateRE = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.*\n/;
template.print(comment.replace(dateRE, ''));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 03:34 AM
Hi Chuck,
Above does not work if user uses different date format. Also it does not work if comment contains 2 lines which has double linebreak.
Could you please suggest solution which is agnostice of user's datetime format and works if comment contains double line break?
Thanks,
Rushit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2021 03:06 AM
Can you please guide me how to hide only the user not the timestamp.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2021 05:40 AM
Hi,
I'd recommend creating your own post on the forums for that support as this is a 4 year old, closed post.
You'll get more support in a brand new question as more will see it and engage.
Please mark reply as Helpful, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 09:59 AM
For removing time stamp from the notification uncheck the properties glide.email.append.timezone and this will remove the timezone from your notification

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 10:17 AM
That sounds like it only removes the timezone, not the date/time and user.