Print this page

Spring 15 - Metadata API changes

Knowledge Article Number 000206846
Description

Metadata API Calls

Metadata API calls were modified or added in version 33.0.

New Metadata Calls

The following Metadata API calls have been added.

deployRecentValidation()
Deploys a recently validated component set without running Apex tests.
Use deployRecentValidation() to deploy your components to production in less time by skipping the execution of Apextests. Ensure that the following requirements are met before deploying a recent validation.
  • The components have been validated successfully for the target environment within the last four days (96 hours).
  • As part of the validation, all Apex tests in the target organization have passed.
  • The overall code coverage in the organization is at least 75%, and Apex triggers have some coverage.
This call is equivalent to performing a quick deployment of a recent validation on the Deployment Status page in the Salesforceuser interface.
 

Metadata Types and Fields

Metadata types and fields were modified or added in version 33.0.

New Metadata Types

ActionLinkGroupTemplate
Represents the action link group template. Action link templates let you reuse action link definitions and package and distribute action links. An action link is a button on a feed element. Clicking on an action link can take a user to another Web page, initiate a file download, or invoke an API call to an external server or Salesforce. Use action links to integrate Salesforce and third-party services into the feed. Every action link belongs to an action link group and action links within the group are mutually exclusive.
MatchingRule
Represents a matching rule that is used to identify duplicate records.
NamedCredential
Represents a named credential, which specifies the URL of a callout endpoint and its required authentication parameters in one definition. A named credential can be specified as an endpoint to simplify the setup of authenticated callouts.
SharingBaseRule
Represents sharing rule settings such as access level and to whom access is granted.

Updated Metadata Types and Fields

These metadata types have changed, or have fields that have been added or changed in API version 33.0.

AuraDefinitionBundle
The following fields have been added:
designContent
The content of a design definition. Only valid inside a component bundle.
SVGContent
The SVG image for the definition.
AuthProvider
The following field has been added:
logoutURL
Provides a specific destination for users after they log out if they authenticated using the single sign-on flow. The URL must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
The following fields have been updated:
authorizeUrlconsumerKeyconsumerSecretdefaultScopestokenUrl and userInfoUrl
The behavior of these field changed to support the Salesforce-managed Auth. Provider configuration, which allows Salesforceto manage the values for Facebook, Salesforce, LinkedIn, Twitter or Google authentication. However, if you provide a value for any of these fields, then consumerKey and consumerSecret must be also be specified. For more information on this configuration, see Set Up an Authentication Provider Using Salesforce-Managed Values.
providerType
Google has been added to the supported AuthProviderType enumeration values.
ExternalDataSource
The following field has been updated:
customConfiguration
A new parameter, requestCompression, is available for this JSON-encoded configuration string when the external data source is of type OData. This parameter corresponds to the Compress Requests field in the user interface.
FlexiPage
The following fields have been added:
sobjectType
This field is reserved for future use.
pageTemplate
The template associated with the FlexiPage.
Flow
The following field has been added.
interviewLabel
Label for the interview. This label helps users and administrators differentiate interviews from the same flow.
The actionType field on the FlowActionCall subtype supports the following new value.
apex
Invokes an Apex method
The following fields have been added to the FlowScreen subtype.
allowPause
Indicates whether to show (true) or hide (false) the Pause button on the screen at runtime.
pausedText
Confirmation message that appears when an end-user clicks Pause.
The following field on the FlowRule and FlowWaitEvent subtypes supports new values.
conditionLogic
This field now supports advanced logic like 1 AND (2 OR 3). If you use advanced logic, the string must be 1,000 or fewer characters.
The following field has been added to the FlowWaitEvent subtype.
outputParameters
An array of the event’s output parameters. The parameter values are assigned from the event to variables in the flow.
NameSettings
Previously, NameSettings was released as a beta release type. Starting with API version 33.0NameSettings is generally available.
RunTestFailure
The following field has been added to the RunTestFailure result object:
seeAllData
Indicates whether the test method has access to organization data (true) or not (false).
RunTestSuccess
The following field has been added to the RunTestSuccess result object:
seeAllData
Indicates whether the test method has access to organization data (true) or not (false).
SamlSsoConfig
The following fields have been added:
executionUserId
The user that runs the Apex handler class. The user must have the “Manage Users” permission. A user is required if you specify a SAML JIT handler class.
requestSignatureMethod
The method that’s used to sign the SAML request. Valid values are RSA-SHA1 and RSA-SHA256.
samlJitHandlerId
The name of an existing Apex class that implements the Auth.SamlJitHandler interface.
SecuritySettings
The following field has been added to the SessionSettings subtype:
lockSessionsToDomain
Indicates whether the current UI session for a user, such as a community user, is associated with a specific domain to help prevent unauthorized use of the session ID in another domain. This is enabled by default for organizations created with the Spring ’15 release or later.
SharingRules
SharingRules now contains these child subtypes: SharingCriteriaRule, SharingOwnerRule, and SharingTerritoryRule.

All sharing rules for an organization can now be retrieved and deployed for all objects with wildcard support. Retrieving and deploying of manual sharing and sharing rules by type (criteria, owner, and territory) is not supported.

These types are no longer available: AccountSharingRulesCampaignSharingRulesCaseSharingRulesContactSharingRules,LeadSharingRulesOpportunitySharingRulesAccountTerritorySharingRulesCustomObjectSharingRules.

Territory2Type
A new field, Priority, has been added to this metadata type. This field is reserved for future use.

These metadata field types have been added or changed in API version 33.0.

ActionLinkTemplate
This new field is a subtype of the ActionLinkGroupTemplate type and represents action link templates associated with the action link group template.

 




promote demote