---
url: >-
  /statelake/administering-statelake/designer/map/design-map/events-design-map.md
---

# Events - Design (Map)

**Field Events** on the top right side of the screen. This shows the events of the selected dataset or record. Events can be recorded against the destination item itself, as well as against the individual fields.

**Event** icons are colour-coded.

* A blank or white icon indicates that there is no script code for that particular event.
* A **GREEN** event icon signifies a successful code compilation for that event.
* A **RED** event icon indicates that an error has occurred and the code was not successfully compiled for that event. If the icon is in error, then correct the script and re-compile.

This following example shows the events at destination item level.

The example below shows events at field level for the individual field **REASONCODE**. It has an **OnMap** event coded against it, and the script is correct with no errors because the colour of the icon is GREEN.

Please refer to [Events](/statelake/scripting-reference/events/) for more information.
