Skip to content
Become a partner
Documentation

Events view by view.

Each view has its events and its button slots. An event starts a script; a slot says where a button appears.

Row form

EventDescription
record.newNew row, before display (default values).current row
record.openA form opens (no writing).current rowno writing
field.changeA chosen field is edited in the form.current row
record.before_saveBefore saving; Fail refuses.can refuse with Failcurrent row
record.after_saveAfter saving.current row
record.before_deleteBefore a deletion; Fail refuses.can refuse with Failcurrent row
record.after_deleteAfter a deletion.

Button slot

record.headerForm header.
record.footerNext to Save.

Node

EventDescription
node.openThe node is displayed (no writing).no writing

Button slot

node.toolbarBar above the view, without a row.
node.itemIcon on the node in the app tree. event.serveur, event.boite and event.role for a mailbox node; event.herite is true when the button comes from a parent node ("also for sub-nodes").

Table

EventDescription
row.clickClick on a row (replaces opening the form).current rowreplaces the default action
selection.changeThe selection changes (no writing).no writing
row.before_addBefore adding a row at the bottom of the table; Fail refuses.can refuse with Fail

Button slot

table.rowAction column of each row.
table.selectionBar of the checked rows.

Kanban

EventDescription
card.before_moveBefore a card moves; Fail puts it back.can refuse with Failcurrent row
card.after_moveAfter a card moved.current row
card.clickClick on a card (replaces opening the form).current rowreplaces the default action
column.addThe "+" of a column (replaces adding).replaces the default action

Button slot

kanban.cardCard menu.
kanban.columnColumn header.

Gallery

EventDescription
card.clickClick on a card (replaces opening the form).current rowreplaces the default action

Button slot

gallery.cardOn the card.

Calendar

EventDescription
day.clickClick on a day (replaces "add on this date").replaces the default action
item.clickClick on an item (replaces opening the form).current rowreplaces the default action
month.changeThe displayed month changes (no writing).no writing

Button slot

calendar.itemItem window.

Timeline

EventDescription
bar.clickClick on a bar (replaces opening the form).current rowreplaces the default action
zoom.changeThe zoom changes (no writing).no writing

Button slot

timeline.barBar window.

Pivot

EventDescription
cell.clickClick on a cell.

Button slot

pivot.cellCell detail (selection = its rows).

Chart

EventDescription
segment.clickClick on a segment.

Button slot

chart.detailSegment detail (selection = its rows).

Files (DMS)

EventDescription
file.before_addBefore a file is added; Fail refuses it.can refuse with Failcurrent row
file.after_addA file was just added.current row
file.after_versionA new version of a file.current row
file.before_deleteBefore a file is deleted; Fail refuses.can refuse with Failcurrent row
file.openA file is opened in the viewer (no writing).current rowno writing

Button slot

ged.fileViewer bar.
ged.groupGroup header.

Map

EventDescription
marker.clickClick on a marker (replaces opening the form).current rowreplaces the default action

Button slot

map.popupMarker popup.

Matching

EventDescription
pair.selectA pair is selected (no writing).no writing
status.changeThe status tab changes (no writing).no writing

Button slot

match.pairSelected pair.

Widget

EventDescription
widget.actionA widget Button with action "logic".

ProMail

EventDescription
courrier.tab_submitAnswer to an interactive (form) tab put by AddMailTab: the current row is the message; event.tab, event.values, event.by. This is the next step of the processing (nothing suspended).current row

Button slot

courrier.toolbarAction bar of the open message (the current row is the message).
courrier.selectionBar of the checked messages (selection).

Station (ODESA)

EventDescription
poste.fileA file of the source arrived, changed or was renamed. Run by ODESA, even with the app closed. With a pattern on the source ({supplier}/{year}), event.segments holds the values read from the file's folders.
poste.scheduleThe source's schedule is reached (rattrapage: a slot missed while stopped).
poste.mailA new message arrived in the source's mailbox (texte: 5,000 characters at most; pieces: name, size, type). Run by ODESA, even with the app closed.
courrier.deplaceA message was moved to another mailbox folder (de, vers: folder ids; role: the destination folder role). Run by ODESA.
courrier.supprimeA message was moved to the trash, or deleted from the server (definitif). Run by ODESA.
courrier.envoi_echecA message put in the sending queue could not be sent (code, motif; ligne: its row in Sent; origine: the message it replied to). Run by ODESA, even with the app closed.
poste.dueA date field of the row is reached (with an offset in days).current row
poste.startODESA starts (arret_depuis: when it stopped).
poste.chargementThe « on load » code of an action: it decides whether its button shows, read only.current rowno writing