QuestionQ97

VerifiedMetadata API

Universal Containers (UC) has a recruiting application that uses Metadata API version 35 and was deployed to production last year. The current Salesforce platform is running API version 46. A new field was introduced on the ApexPage object in API version 46. A UC Developer created a new Apex page containing the new field and is attempting to deploy the page with the prior deployment script, which uses API version 35.

What will occur during deployment?

Explanation

A Metadata API deployment uses the schema for the API version specified by the deployment request. Because the field was introduced in API version 46, it is unknown to API version 35 and the deployment fails when that older API version processes the page metadata.

Community Discussion

No comments yet. Be the first to start the discussion!