- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:13 AM
Hello
I am trying to bold current.variables.number_text in my mail script and its not populating. Can someone help?
<mail_script>
template.print('The assigned asset number for: '+current.variables.asset_description +' is '+current.variables.number_text);
</mail_script>
Click here to view RITM: ${URI_REF}
Thanks
Denee
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:51 AM
Hi Denee,
From your screenshot it looks like that you have selected the notification content type as plain text. PLease set that to html and then set the bold and try.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:15 AM
Hi Denee,
Use the <b> </b> tags around your text. Something like this:
template.print('The assigned asset number for: <b> '+current.variables.asset_description +' is '+current.variables.number_text + '</b>');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:29 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:35 AM
Hi Denee,
I'm not quite clear... I don't see the <b> </b> tags. Were those stripped out? Did you manually bold part of the line in template.print above from the community post editor? (because I don't know of a way to bold in the script editor.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 05:38 AM