QuickAction Namespace
The QuickAction namespace provides classes and methods for quick actions.
The following are the classes in the QuickAction namespace.
-
DescribeAvailableQuickActionResult Class
Contains describe metadata information for a quick action that is available for a specified parent.
-
Represents the smallest unit in a layout—a field or a separator.
-
Represents an individual item in a
QuickAction.DescribeLayoutRow. -
Represents a row in a
QuickAction.DescribeLayoutSection. -
Represents a section of a layout and consists of one or more columns and one or more rows (an array of
QuickAction.DescribeLayoutRow). -
DescribeQuickActionDefaultValue Class
Returns a default value for a quick action.
-
DescribeQuickActionParameter Class
Represents the parameters corresponding to a quick action.
-
DescribeQuickActionResult Class
Contains describe metadata information for a quick action.
-
Represents an abstract Apex class that provides the context for running the standard Email Action on Case Feed and the container of the Email Message fields for the action payload. You can override the target fields before the standard Email Action is rendered.
-
QuickActionDefaultsHandler Interface
The
QuickAction.QuickActionDefaultsHandlerinterface lets you specify the default values for the standard Email and Send Email actions in the case feed. You can use this interface to specify the From address, CC address, BCC address, subject, and email body for the Email action in the case feed. You can use the interface to pre-populate these fields based on the context where the action is displayed, such as the case origin (for example, country) and subject. -
Use the
QuickAction.QuickActionRequestclass for providing action information for quick actions to be performed byQuickActionclass methods. Action information includes the action name, context record ID, and record. -
After you initiate a quick action with the
QuickActionclass, use theQuickActionResultclass for processing action results. -
SendEmailQuickActionDefaults Class
Represents an Apex class that provides: the From address list; the original email’s email message ID, provided that the reply action was invoked on the email message feed item; and methods to specify related settings on templates. You can override these fields before the standard Email Action is rendered.