- 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:41 AM
Odd. If there's a syntax error in there - I'm not seeing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 05:47 AM
I tested it and this is the syntax error
ERROR at line 4: Expected an assignment or function call and instead saw an expression.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 06:10 AM
Hello Harshtimes
We just upgraded to Fuji can you tell me where will I change the notification content type to html?
thanks
Denee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 06:16 AM
Hi Denee,
I should note that Fuji is no longer under support now that Istanbul is available. I hope that doesn't rain on your parade.
Rich HTML format came out in Eureka. This should help you determine if you can convert the notification or the template it uses to Rich HTML.
Convert an email template to rich HTML