List of event types

Hi guys,

I was looking up the documentation for events (http://repo.enonic.com/public/com/enonic/xp/docs/6.14.3/docs-6.14.3-libdoc.zip!/module-event.html) and I couldn’t find a list of all the event types supported by enonic. Another co-worker told me I could create a blank function just to print the event name and then try firing all kinds of events I wanted to record, but that’s pretty wrong, as it is something that should’ve been documented from the start.

Can you guys help out?
I intend to hook on create/update/remove events for objects, and knowing what is possible beforehand is crucial.

Thanks a bunch!

2 Likes

Agreed. This should have been documented. We will fix this (and describe the event formats).

Meanwhile, the types of event currently (6.15) sent by the platform are:
application.cluster
application

node.create
node.deleted
node.pushed
node.duplicated
node.updated
node.moved
node.renamed
node.sorted
node.stateUpdated

repository.created
repository.updated
repository.deleted
repository.restoreInitialized
repository.restored

task.submitted
task.updated
task.removed
task.finished
task.failed

3 Likes

I see that this is still missing, so I created a task for it on the Docs project: https://github.com/enonic/doc-xp/issues/54

2 Likes