Skip to main content
Data related to event handlers.

Constructors

NSEventData()

Initializes a new instance of the NSEventData class.

Methods

GetBlockExecution()

Returns: CRMScript.Global.Bool - Whether the context should stop what it is doing (for example, stop saving a sale). Example:

GetException()

Returns: CRMScript.Global.String - String containing error message from handler system if it failed. Example:

GetInputValues()

Returns: CRMScript.Native.Map - Environment values sent to the event handler. Example:

GetMessage()

Returns: CRMScript.Global.String - A message to be presented to the user. Example:

GetNavigateTo()

Returns: CRMScript.Global.String - Where the context should navigate afterwards. Example:

GetOutputValues()

Returns: CRMScript.Native.Map - Values sent back to the environment from the event handler. Example:

GetStateValues()

Returns: CRMScript.Native.Map - Values kept between event handlers. Example:

GetType()

Returns: CRMScript.Global.Integer - The type of event we are triggered by. See <xref href=“CRMScript.NetServer.EventHandlerType” data-throw-if-not-resolved=“false”></xref> Example:

SetBlockExecution(Bool)

Returns: CRMScript.Global.Void Example:

SetException(String)

Returns: CRMScript.Global.Void Example:

SetInputValues(Map)

Returns: CRMScript.Global.Void Example:

SetMessage(String)

Returns: CRMScript.Global.Void Example:

SetNavigateTo(String)

Returns: CRMScript.Global.Void Example:

SetOutputValues(Map)

Returns: CRMScript.Global.Void Example:

SetStateValues(Map)

Returns: CRMScript.Global.Void Example:

SetType(Integer)

Returns: CRMScript.Global.Void Example: