Metadata Namespace
The Metadata namespace provides classes and methods for working with custom metadata in Salesforce
Salesforce uses metadata types and components to represent org configuration and customization. Metadata is used for org settings that admins control or configuration information applied by installed apps and packages. Use the classes in the Metadata namespace to access metadata from within Apex code.
Metadata access in Apex is available for Apex classes using API version 40.0 and later.
For more information, see Metadata.
The following are the classes in the Metadata namespace.
-
AnalyticsCloudComponentLayoutItem Class
Represents the settings for a Wave Analytics dashboard on a standard or custom page.
-
Represents a custom console component on a section of a page layout.
-
Represents a location and style in which to display more than one custom console component in the sidebars of the console.
-
Represents custom console components (Visualforce pages, lookup fields, or related lists) on a page layout.
-
Represents records of custom metadata types.
-
Represents custom metadata values for a custom metadata component.
-
An interface for metadata deployment callback classes.
-
Represents context information for a deployment job.
-
Represents a container for custom metadata components to be deployed.
-
Contains detailed information on deployed components.
-
Represents result information for the deployment of a metadata component.
-
Describes the problem type for an unsuccessful component deploy.
-
Represents the results of a metadata deployment.
-
The result status of a deployment.
-
The type of feed item in a feed-based page layout.
-
Represents the values that define the feed view of a feed-based page layout. Feed-based layouts are available on Account, Case, Contact, Lead, Opportunity, custom, and external objects. They include a feed view and a detail view.
-
Represents a component in the feed view of a feed-based page layout.
-
Indicates the type of feed layout component.
-
Represents a feed filter option in the feed view of a feed-based page layout. A filter can have only
standardFilterorfeedItemTypeset. -
Describes where the feed filters list is included in the layout.
-
The type of feed layout filter.
-
Represents the metadata associated with a page layout.
-
Represents the items in a column within a layout section.
-
Represents tagging types used for
Metadata.Layout.headers -
Represents the valid values that define a layout item.
-
Represents a section of a page layout, such as the Custom Links section.
-
Describes the possible styles for a layout section.
-
An abstract base class that represents a custom metadata component.
-
Represents the custom metadata components available in Apex.
-
An abstract base class that represents a custom metadata component field.
-
Represents a mini view of a record in the Console tab, hover details, and event overlays.
-
Represents a class to execute metadata operations, such as retrieving or deploying custom metadata.
-
Represents the list of actions, and their order, that display in the Salesforce mobile action bar for the layout.
-
PlatformActionListContextEnum Enum
Describes the different contexts of action lists.
-
Represents an action in the platform action list for a layout.
-
The type of action for a
PlatformActionListItem. -
Represents custom console components on primary tabs in the Salesforce console.
-
Represents the list of actions associated with the page layout.
-
Represents an action in the
QuickActionList. -
Represents the Mobile Cards section of the page layout.
-
Represents an individual item in the
RelatedContentlist. -
Represents related list custom components on the sidebars of the Salesforce console.
-
Represents an item in the related list in a page layout.
-
ReportChartComponentLayoutItem Class
Represents the settings for a report chart on a standard or custom page.
-
Describes the size of the displayed report chart component.
-
Represents a specific custom console component to display in a container that hosts multiple components in one of the sidebars of the Salesforce console.
-
Describes the sort order of a related list.
-
Describes the status code for an unsuccessful component deploy.
-
Represents custom console components on subtabs in the Salesforce console.
-
Describes the highlights panel style for a
SummaryLayout. -
Controls the appearance of the highlights panel, which summarizes key fields in a grid at the top of a page layout, when Case Feed is enabled.
-
Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. You can have two fields per each grid in a highlights panel.
-
Describes the behavior for a layout item on a layout page.