- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 04:22 AM
Hello,
I have set it up on a notification to add the latest Journal Input field entry. This is working fine, but I have been asked if I can remove the date and field name from the notification too. So the text underlined below. Can this be done? Cheers.
31-01-2017 12:17 GMT - Dan Brown (Comments Visible to User)
Hello All,
This is an email,
Dan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 05:20 AM
below is the script we used
<mail_script>
//get the latest journal entry
var mgnt = current.u_notification_history.getJournalEntry(1);
//remove header information
var pat = /.*/;
template.print(mgnt.replace(pat,""));
</mail_script>
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 05:20 AM
below is the script we used
<mail_script>
//get the latest journal entry
var mgnt = current.u_notification_history.getJournalEntry(1);
//remove header information
var pat = /.*/;
template.print(mgnt.replace(pat,""));
</mail_script>
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 05:38 AM
Thank you - perfect.
Dan