---
schema_version: "1"
id: ca966d28ddec7098495fcda394c76d75bbb1a264473511c8c55628a589347ec3
title: getPicklist(objectName, fieldName)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_fschousehold_FSCPlansAndGoalsUtil_getPicklist.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_fschousehold_FSCPlansAndGoalsUtil_getPicklist.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fb216b422fc93a2990aeda6dd939c7d39dc7ca19c7c4875a00281295af433dc9
description: This method accepts an object name and picklist field and returns the picklist values.
---
# getPicklist(objectName, fieldName)

This method accepts an object name and picklist field and returns the picklist values.

## API Version

60.0

## Signature

public static List<Map<String, String\>> getPicklist(String objectName, String fieldName)

## Parameters

objectName

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The name of the object that contains the picklist field.

fieldName

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The name of the picklist field.

## Return Value

Type: List<Map<String, String>>

Returns the values of the specified picklist field.