应用到: CRM 2015 on-prem, CRM Online
指定命令将执行的操作。
语法
<Actions>
 [<JavaScriptFunction /> | <Url /> ]
</Actions>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
此元素不具有属性。
子元素
| Element | Description | 
|---|---|
| 指定从特定 JavaScript 库调用函数的操作。 | |
| 一个操作,用于打开位于指定地址的网页。 | 
父元素
| Element | Description | 
|---|---|
| 指定一组规则,这些规则用于控制功能区元素的显示方式以及功能区元素和控件可引用的要执行的操作。 | 
示例
This Actions element contains a <Url> (RibbonDiffXml) action that opens a Web resource into a window of a specified size while passing contextual parameters.
<Actions> <Url Address="$webresource:New_ShowParams.htm"      PassParams="true"      WinParams="height=200, width=400,toolbar=no, menubar=no,location=no" /></Actions>
元素信息
| XPath |  | 
| Schema Name | ActionsType | 
| Validation File | RibbonTypes.xsd | 
| Can be Empty | Yes | 
另请参阅
其他资源
自定义命令和功能区
Ribbon XML reference
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.