Triggers an event with the given event data.
Syntax
Smartsite SXML | Copy Code |
---|---|
smartlet.events.send(string eventName, any[ ] keyValuePairs) |
Parameters
Name | Data Type | Description |
---|---|---|
eventName | String | Name of the event. |
keyValuePairs | Any[ ] | The key value pairs holding the data you want to send to other Smartlets (name1, value1, name2, value2, etc...). |
Return Value
None.