I have a calculation that removes the html email template and content on replies to the incident management notes
however a side effect of removing the template is that any images pated in the reply are not displayed in the html field
The calculation I have is
static def GetAttributeValue(Note):
pos = Note.Text.IndexOf("[mailto:email@example.com]")
if pos < 0:
user = Note.RaiseUser.Title
pos = (Note.Text.Substring(0, pos))
Value = pos.Replace("firstname.lastname@example.org", user)
I assume it is due to the calculation removing anything below the IndexOf and not closing tags correctly,
Does anyone know of a way to remove the template AND to have pasted images on reply still working?
I can still see the images as they are added to the attachments collection, however I would like to see them in the notes where they should be!
Hi Dan, we discovered 2 bugs in 2016.1:
6442 Outgoing emails that include an image shows a broken image in the email when received by user
6441 Records logged by email with embedded images gets an incorrect src path in the html in the database
Do you have the latest hotfix for 2016.1? Service Desk 2016.1 Cumulative Hotfixes
Retrieving data ...