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.

  • DescribeLayoutComponent Class

    Represents the smallest unit in a layout—a field or a separator.

  • DescribeLayoutItem Class

    Represents an individual item in a QuickAction.DescribeLayoutRow.

  • DescribeLayoutRow Class

    Represents a row in a QuickAction.DescribeLayoutSection.

  • DescribeLayoutSection Class

    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.

  • QuickActionDefaults Class

    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.QuickActionDefaultsHandler interface 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.

  • QuickActionRequest Class

    Use the QuickAction.QuickActionRequest class for providing action information for quick actions to be performed by QuickAction class methods. Action information includes the action name, context record ID, and record.

  • QuickActionResult Class

    After you initiate a quick action with the QuickAction class, use the QuickActionResult class 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.