- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2020 07:09 PM
Hi all,
I have below mail script, it stamps individual apps name when found - i would like to replace the "Name:" to bullet point point - how should i change this?
var appsNames = event.parm2.split(',');
var details = "";
for (var i = 0; i < appsNames.length; i++) {
details += "Name: " + "<span style='color: #4a90e2;letter-spacing: normal;font-size: 16px;'>" + appsNames[i] + "</span><br/><br/>";
}
template.print(details);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2020 07:21 PM
You have multiple choices as the email is HTML/CSS. You can see how to change the styles/add custom bullet types here. An example would be:
var appsNames = event.parm2.split(',');
template.print("<ul>");
for (var i = 0; i < appsNames.length; i++) {
template.print("<li>" + appsNames[i] + "</li>");
}
template.print("</ul>");
This will print something along the lines of:
- Name
- Name
- Name
Now if you are looking to change the bullet to a "-" character then you can find that information here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2020 07:21 PM
You have multiple choices as the email is HTML/CSS. You can see how to change the styles/add custom bullet types here. An example would be:
var appsNames = event.parm2.split(',');
template.print("<ul>");
for (var i = 0; i < appsNames.length; i++) {
template.print("<li>" + appsNames[i] + "</li>");
}
template.print("</ul>");
This will print something along the lines of:
- Name
- Name
- Name
Now if you are looking to change the bullet to a "-" character then you can find that information here.