<event> (FormXml)
应用到: CRM 2016 on-prem, CRM Online
为窗体或字段指定事件。
语法
<event
active=["0" | "1" | "true" | "false"]
application=["0" | "1" | "true" | "false"]
attribute="String"
BehaviorInBulkEditForm="String"
eventType=["DataEvent" | "ControlEvent"]
name="String">
<dependencies />
<Handlers />
<InternalHandlers />
</event>
属性和元素
The following describes the attributes, child elements, and parent elements.
属性
Attribute | Description | Type | Usage |
---|---|---|---|
active |
Describes whether the event is enabled for the form or the field. The default value is false. |
Boolean |
Optional |
application |
For internal use only. |
Boolean |
Optional |
attribute |
The name of an attribute for an OnChange event. |
String |
Optional |
BehaviorInBulkEditForm |
仅供内部使用。 Do not change this value. |
Enumeration (BehaviorInBulkEditForm) |
Optional |
eventType |
Valid values:
|
Enumeration (CrmEventType) |
Optional |
name |
The name of the event to associate scripts with. Valid values:
|
String |
Optional |
子元素
Element | Description |
---|---|
包含事件的依赖项。 |
|
包含事件的所有事件处理程序。 |
|
仅供内部使用。包含由 Microsoft Dynamics CRM 定义的事件处理程序。 |
父元素
Element | Description |
---|---|
包含单元格或窗体的所有事件定义。 |
元素信息
Schema Type |
complexType |
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.