Metadata API

Metadata API includes new and changed types and fields.

New Metadata Types

CspTrustedSite
Represents a CSP Trusted Site. The Lightning Component framework uses Content Security Policy (CSP) to control the source of content that can be loaded on a page. To use third-party APIs that make requests to an external (non-Salesforce) server, add the server as a CSP Trusted Site.
ExternalServiceRegistration
Represents the External Service configuration for an org. Available in a Beta. See External Services: Connect to Salesforce Using a Wizard, Schema, and Flow (Beta).
FileUploadAndDownloadSecuritySettings
Represents the security settings for uploading and downloading files.
LeadConvertSettings
Represents an organization’s custom field mappings for lead conversion. Custom fields can be mapped from Leads to Accounts, Contacts, and Opportunities. Options for creating opportunities during lead conversion can also be specified.
PersonalJourneySettings
Represents an organization’s Adoption Manager setting, which enables or disables the Adoption Manager tool.
ProfileActionOverride
Represents an override of an ActionOverride by a user profile. You can use it to override an ActionOverride on a standard Home tab or object record page in Lightning Experience. When a user logs in with a profile, a matching ProfileActionOverride assignment takes precedence over existing overrides for the Home tab or record page specified in ActionOverride.
UserCriteria
The description of the user criteria.
Wavexmd
Represents the WaveXmd object in the Wave Analytics application.

Updated Metadata Types and Fields

These metadata types have changed or have fields that have been added or changed.

CommunityTemplate​Definition
The following field has been added to the CommunityTemplate​PageSetting subtype.
themeLayout
Required. The name of the FlexiPage for the theme layout.
CommunityThemeDefinition
The following field has been added.
customThemeLayoutType
The list of custom theme layout types available to the theme layout.
The themeLayoutType field now supports the following new values: Home or Login.
The following field has been added to the CommunityThemeSetting subtype.
customThemeLayoutType
Required when themeLayoutType is not specified. The custom theme layout type associated with the theme layout.
CustomApplication
The following field has been added.
profileActionOverrides
A list of the Lightning Experience record page ProfileActionOverrides that are assigned to this custom app. When a user invokes the custom app, a matching ProfileActionOverride assignment takes precedence over existing overrides for the record page specified in ActionOverride. This lets you override a record page for the custom app by record type and profile.
CustomField
The following field has been added.
metadataRelationship​ControllingField
In custom metadata relationships, represents the controlling field that specifies the standard or custom object in an entity definition metadata relationship. Required when creating a field definition metadata relationship on a custom metadata type. The object specified in the controlling field determines the values available in its dependent field definition. For example, specifying the Account object filters the available fields in the field definition to Account fields only.
CustomSite
The following field has been added.
allowStandardPortalPages
Required. When enabled, authenticated users in this site can access standard Salesforce pages as allowed by their access controls. When disabled, authenticated users in this site can't access standard Salesforce pages, even if their access controls allow it. If your site serves only Visualforce pages, disabling this setting helps add a layer of access protection to your site.
EmailToCaseRoutingAddress
The following field has changed.
caseOwner
You can specify a user or a queue as the case owner in the Email-to-Case routing address. Specifying the case owner in the Email-to-Case routing address overrides the value of defaultCaseOwner in CaseSettings.
ExternalDataSource
The following fields have changed.
isWritable
You can now set the field to true with the cross-org adapter for Salesforce Connect.
type
The field now supports the value outgoingemail—A data source used for sending an email through a quick action.
FlexiPage
The following field has been deprecated.
pageTemplate
For API version 39.0 and later, use template instead.
The following field has been added.
template
Required. The template associated with the FlexiPage.
The type field now supports the following values.
  • CommForgotPasswordPage—A Lightning Page that’s used to override a forgot-password page, as created in Community Builder, in Communities.
  • CommLoginPage—A Lightning Page that’s used to override the login page, as created in Community Builder, in Communities.
  • CommSelfRegisterPage—A Lightning Page used to override the self-registration page, as created in Community Builder, in Communities.
The following fields have been added to the FlexiPageTemplateInstance subtype.
name
Required. The name of a single instance of a template.
properties
The value of a single property in a template instance.
ExternalDataSource
The following field has changed.
isWritable
You can now set the field to true with the cross-org adapter for Salesforce Connect.
KnowledgeSettings
The following field has changed.
suggestedArticles
Two complex types with subtypes have been added. Use KnowledgeWorkOrderFieldsSettings to retrieve a list of the work order fields used to suggest articles for the work order. Use KnowledgeWorkOrderLineItemFieldsSettings to retrieve a list of the work order line item fields used to suggest articles for the work order line item.
ModerationRule
The following fields have been added.
actionLimit
Indicates the moderation action limit.
notifyLimit
Indicates the notification limit of the moderation rule.
timePeriod
Indicates the time period of the rate limit.
type
Indicates the type of rule used to moderate member-generated content.
userCriteria
Represents the member criteria to use in community moderation rules.
TransactionSecurityPolicy
The following fields have been added.
description
A description of the policy.
developerName
This unique name prevents conflicts with other policies that have the same masterLabel.
masterLabel
The master label for this object. This display value is the internal label that is not translated.