-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Events
azivner edited this page Sep 1, 2018
·
10 revisions
In general we may say that script note execution is triggered by events.
Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed once the event occurs.
-
run
-
frontendStartup
- executes on frontend upon startup -
backendStartup
- executes on backend upon startup -
hourly
- executes once an hour on backend -
daily
- executes once a day on backend
-
Other events are bound to some entity, these are defined as relations - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).
-
runOnNoteView
- executes when note is displayed on frontend -
runOnNoteCreation
- executes when note is created on backend -
runOnNoteTitleChange
- executes when note title is changed (includes note creation as well) -
runOnNoteChange
- executes when note is changed (includes note creation as well) -
runOnChildNoteCreation
- executes when new note is created under this note -
runOnAttributeCreation
- executes when new attribute is created under this note -
runOnAttributeChange
- executes when attribute is changed under this note
Back to Overview
- Screenshot tour
- Basic concepts
- Installation & setup
- Advanced usage
- Developer guides
- FAQ
- Troubleshooting