<Handler> (FormXml)
Applies To: Dynamics CRM 2013
Specifies a JavaScript library and function to call for an event.
Syntax
<Handler
enabled=["0" | "1" | "true" | "false"]
functionName="String"
handlerUniqueId="String"
libraryName="String"
parameters="String"
passExecutionContext=["0" | "1" | "true" | "false"]
<dependencies />
</Handler>
Attributes and Elements
The following describes the attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
Type |
Usage |
---|---|---|---|
enabled |
Specifies whether the handler is enabled |
Boolean |
Optional |
functionName |
Specifies the name of the function. |
String |
Required |
handlerUniqueId |
The unique ID for the handler. |
String |
Required |
libraryName |
The name of the Script Web Resource that contains the function. |
String |
Required |
parameters |
The values passed to the function |
String |
Optional |
passExecutionContext |
Indicates whether the execution context should be passed to the function. |
Boolean |
Optional |
Child Elements
This element has no child elements.
Parent Elements
Element |
Description |
---|---|
Contains all the event handlers for an event. |
Element Information
Schema Type |
FormXmlHandlerType |
Validation File |
FormXml.xsd |
Number of Occurrences |
0 or more |
XPath |
|
See Also
Customize entity forms
Form XML reference
Execution context (client-side reference)