Gets an event data value sent by another Smartlet and maps it to corresponding Smartlet property.

Syntax

Smartsite SXML CopyCode image Copy Code
smartlet.events.receiveproperty(string eventName, string propertyName)
smartlet.events.receiveproperty(string eventName, string propertyName, any defaultValue)

Parameters

Name Data Type Description
eventName String Name of the event.
propertyName String Name of the property.
defaultValue Any The default value.

Return Value

None.
SXML