<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">2015/07/31 5:13、Ashley Etherington <<a href="mailto:migetismad@hotmail.com" class="">migetismad@hotmail.com</a>> のメール:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Good morning all.</div></div></blockquote><div><br class=""></div>Hi Ashley,</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class="">First Question:</div><div class="">We recently set-up a Dashboard with subscriptions for a daily email report for incoming jobs. This had some searches and some charts. The first 2 emails it sent us were perfect, formatted and were generally very nice to look at. The 3rd and all emails since are now unformatted, have no images and just attachments with the graphs. Nothing has changed on the dashboard since and we have tested it on several browsers/mobile devices/email clients. I am just wondering if this is a known issue or if there is something I can change to make it reliable.</div></div></div></div></blockquote><div class=""><br class=""></div>Do you have anything in your config for @EmailDashboardRemove? I wonder if someone added something to it between the second and third mails.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class="">Second Question:</div></div><div class="">For a long time we have had RT hooked up to an external service run by Apple. This is working great, But now we would like to get deeper integration with the system, This means we need to improve the current error handling we have at the moment (For invalid details and various other bits of information) Is there a way using RT Scripts to invoke the yellow or red error bar with a custom message? Or would this have to be done through a plugin of sorts. Any information would be great.</div></div></div></blockquote><div class=""><br class=""></div><div class="">If the error is specific to a particular ticket, I’d use an attribute on the ticket object for this. It’s sorta like a custom field but doesn’t show up in the UI. It’s lets code stash extra data on RT records.</div></div><div class=""><br class=""></div><div class="">In your scrip when you detect an error condition, use $ticket->AddAttribute(Name => “AppleError”, Content => “Uh oh! $error”);</div><div class=""><br class=""></div><div class="">When things are back to working, $ticket->DeleteAttribute(“AppleError”).</div><div class=""><br class=""></div><div class="">In your ticket display page, check $ticket->Attributes->Named(‘AppleError’) and if it’s present display a bar. (Maybe add an “Acknowledge” link that also does the ->DeleteAttribute).</div><div class=""><br class=""></div><div class="">If it’s not specific to a particular ticket, you can use an attribute on RT->System instead of the ticket.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="">Thank you for reading.</div><div class="">Ashley Etherington.</div></div></div></blockquote></div><div class=""><br class=""></div>Hope this helps,<br class=""><div class="">Shawn</div></body></html>