Aeon Addon System Events
In Aeon, there are two system events in the client that system addons can register for.
System Event: "UserSwitch"
Argument: UserSwitchEventArgs
This system event is raised when the switch user feature of the Aeon client is used to allow another staff user to log in without closing the client.
Properties
UserSwitchEventArgs has three properties:
Username (string) | The staff username that has been switched to. |
---|---|
FirstName (string) | The first name of the staff user that has been switched to. |
LastName (string) | The last name of the staff user that has been switched to. |
DataContext
None
System Event: "NewEmail"
Argument: NewEmailEventArgs
This system event is raised when the Aeon client is generating an email. It is used to allow addons the chance to replace email tags. Email tags of the form <#Addon.[tag]> will be passed to the addon registered for this system event.
Properties
NewEmailEventArgs has two properties:
EmailType | The type of email (Transaction, User, or ReferenceRequest) |
---|---|
Tags | A list of TemplateTagReplacement objects. TemplateTagReplacement objects have two fields:
|
DataContext
User | A Sser object representing the recipient of the email. |
---|---|
Transaction | The data context will contain a Transaction object if it is a transaction email. |