---
schema_version: "1"
id: cd2c700419dc2b9951ac16860268d57567349dfe5e03e754f861b443576ded2b
title: DescribeQuickActionDefaultValue Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_quickaction_describequickactiondefaultvalue.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describequickactiondefaultvalue.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ea79c6d7199526a56fb9c6a67d14c0f2a596096c3f2ce005c9a91443132f4069
description: Returns a default value for a quick action.Returns the default value of the quick action.Returns the field name of the action.
---
# DescribeQuickActionDefaultValue Class

Returns a default value for a quick action.

## Namespace

[QuickAction](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_QuickAction.htm "The QuickAction namespace provides classes and methods for quick actions.")

## Usage

Represents the default values of fields to use in default layouts.

## DescribeQuickActionDefaultValue Methods

The following are methods for DescribeQuickActionDefaultValue. All are instance methods.

- **[getDefaultValue()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describequickactiondefaultvalue.htm#apex_QuickAction_DescribeQuickActionDefaultValue_getDefaultValue)**  
    Returns the default value of the quick action.
- **[getField()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_quickaction_describequickactiondefaultvalue.htm#apex_QuickAction_DescribeQuickActionDefaultValue_getField)**  
    Returns the field name of the action.

### getDefaultValue()

Returns the default value of the quick action.

#### Signature

public String getDefaultValue()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### getField()

Returns the field name of the action.

#### Signature

public String getField()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")