Notification templates

atomek1233 years ago

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

Anton Tananaev3 years ago

I don't think we expose name. You can access driver id, but only for the driver change event.

atomek1233 years ago

Is any simple solution to acces driver id for other events like ignitionOn/Off, FuelIncrase/Decrase, Overspeed etc. ?

Anton Tananaev3 years ago

Yes. You can adjust NotificationFormatter class to add it there.

FW4 months ago

Hello, How can i add Odometer and io84 to email notification?