<Handler> (FormXml)
应用到: CRM 2016 on-prem, CRM Online
指定要为事件调用的 JavaScript 库和函数。
语法
<Handler
enabled=["0" | "1" | "true" | "false"]
functionName="String"
handlerUniqueId="String"
libraryName="String"
parameters="String"
passExecutionContext=["0" | "1" | "true" | "false"]
<dependencies />
</Handler>
属性和元素
The following describes the attributes, child elements, and parent elements.
属性
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 |
子元素
此元素没有子元素。
父元素
Element | Description |
---|---|
包含事件的所有事件处理程序。 |
元素信息
Schema Type |
FormXmlHandlerType |
Validation File |
FormXml.xsd |
Number of Occurrences |
0 or more |
XPath |
|
另请参阅
参考
概念
其他资源
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.