Lightning 组件操作是自定义操作,它会调用 Lightning 组件。它们支持 Apex 和 JavaScript,并提供安全方式来构建客户端定制功能。Lightning 组件操作仅在 Salesforce 移动应用程序和 Lightning Experience 中受支持。
| 适用于:Salesforce 移动应用程序和 Lightning Experience |
| 适用于:Essentials、Group、Professional、Enterprise、Performance、Unlimited、Contact Manager 和 Developer Edition |
您可以使用页面布局编辑器将 Lightning 组件操作添加到对象的页面布局,或使用全局发布者布局编辑器添加到全局发布者布局。如果您的组织中拥有 Lightning 组件操作,您可以在页面布局编辑器选项板的移动 和 Lightning 操作类别中找到它们。
Lightning 组件操作不能只调用贵组织中的任何 Lightning 组件。要使组件作为 Lightning 组件操作,必须为此目的对其进行配置,并实施force:LightningQuickAction或force:LightningQuickActionWithoutHeader界面。对于每个标记为必填的组件属性,您也必须设置默认值。
如果您计划打包 Lightning 组件操作,该操作调用的组件必须标记为access=global。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.