UI Object Info API

lightning/uiObjectInfoApi

Get object metadata and picklist values.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

The lightning/uiObjectInfoApi module includes wire adapters to get object metadata and picklist values. The wire adapters are:

  • getObjectInfo
  • getObjectInfos
  • getPicklistValues
  • getPicklistValuesByRecordType

For this module’s specification and examples, see the Lightning Web Components Developer Guide.

LWC Recipes 

The LWC Recipes GitHub repository contains code examples for Lightning Web Components that you can test in an org.

For a recipe that uses lightning/uiObjectInfoApi, see the following components in the LWC Recipes repo.

  • c-wire-get-object-info
  • c-wire-get-picklist-values
  • c-wire-get-picklist-values-by-record-type
error fallback image
No specifications to show
No specifications are available for this component or API module. When specifications are defined, they'll appear here.