- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 07:53 AM
Is it possible to get the Subject of a notification to be used in the body of a template?
I am trying to use templates more often and I would be helpful if I could pull the subject from the notification that is using the template into the body of the email.
Make sense?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 10:24 AM
Hmmm, interesting one, I tried the above one but did not work so I explored the more options and came out with solution.
Put the below code where you want the subject to be printed inside the body of the notification email template.
<mail_script>
template.print(email.getSubject());
</mail_script>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 08:50 AM
Question is not clear. Can you please explain more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 09:51 AM
When you are defining a notification that is using a template and you set up a subject on that notification, I want to use that Subject in the template so that I can pull it into the body of the sent email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 10:03 AM
Weird guess , but can you try something like below in <mail_script> tag
<mail_script>
template.print(sys_email.subject)
</mail_script>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2016 10:24 AM
Hmmm, interesting one, I tried the above one but did not work so I explored the more options and came out with solution.
Put the below code where you want the subject to be printed inside the body of the notification email template.
<mail_script>
template.print(email.getSubject());
</mail_script>