Gets the event data sent by another Smartlet as a DataTable.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable smartlet.events.receive(string eventName)
datatable smartlet.events.receive(string eventName, string[ ] mappings)

Parameters

Name Data Type Description
eventName String Name of the event.
mappings String[ ] The mappings.

Return Value

Data Type Description
DataTable DataTable (1 row, each column contains one event property).
SXML