Print this page

Spring 15 - Metadata API changes

Knowledge Article Number 000206846

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.

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

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.
Represents a matching rule that is used to identify duplicate records.
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.
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.

The following fields have been added:
The content of a design definition. Only valid inside a component bundle.
The SVG image for the definition.
The following field has been added:
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
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.
Google has been added to the supported AuthProviderType enumeration values.
The following field has been updated:
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.
The following fields have been added:
This field is reserved for future use.
The template associated with the FlexiPage.
The following field has been added.
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.
Invokes an Apex method
The following fields have been added to the FlowScreen subtype.
Indicates whether to show (true) or hide (false) the Pause button on the screen at runtime.
Confirmation message that appears when an end-user clicks Pause.
The following field on the FlowRule and FlowWaitEvent subtypes supports new values.
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.
An array of the event’s output parameters. The parameter values are assigned from the event to variables in the flow.
Previously, NameSettings was released as a beta release type. Starting with API version 33.0NameSettings is generally available.
The following field has been added to the RunTestFailure result object:
Indicates whether the test method has access to organization data (true) or not (false).
The following field has been added to the RunTestSuccess result object:
Indicates whether the test method has access to organization data (true) or not (false).
The following fields have been added:
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.
The method that’s used to sign the SAML request. Valid values are RSA-SHA1 and RSA-SHA256.
The name of an existing Apex class that implements the Auth.SamlJitHandler interface.
The following field has been added to the SessionSettings subtype:
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 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.

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.

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


promote demote