function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vinay JVinay J 

Metadata api example to deploy

Hi Friends,

I'm an admin and want to give my developer a way to validate their deployment request before they send it to me for deployment. Basically, they add all their files into one of the custom apps which we have created, I read the records, take those files and deploy them using ant.

What I want is, once they've created records which contain the component names, I want to give them a button. When the dev click on that, their files shold be validated (not deployed) on target env. I this possible??? I went through this link below, can someone help me with apex code please??

https://www.salesforce.com/us/developer/docs/api_meta/index_Left.htm#CSHID=meta_deploy.htm|StartTopic=Content%2Fmeta_deploy.htm|SkinName=webhelp