Hello,
Is it possible to modify e-mail notification templates, i want add the driver's name to subject or body of notification e-mail
I try used to used line based on driverChanged.vm template
Driver: #{if}($driver)$driver.name#{else}$event.getString("driverUniqueId")#{end}<br>
but there is no the same effects in ignitionOff and ignitionOn notifications
I don't think we expose name. You can access driver id, but only for the driver change event.
Is any simple solution to acces driver id for other events like ignitionOn/Off, FuelIncrase/Decrase, Overspeed etc. ?
Yes. You can adjust NotificationFormatter
class to add it there.
Hello, How can i add Odometer and io84 to email notification?
Hello,
Is it possible to modify e-mail notification templates, i want add the driver's name to subject or body of notification e-mail
I try used to used line based on driverChanged.vm template
but there is no the same effects in ignitionOff and ignitionOn notifications