How to deploy salesforce custom button using Apache ANT tool?

Package.xml file to retrieve and deploy using ANT or Workbench salesforce deployment

<?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?>
<Package xmlns=””>


<members>Case.SendEmail</members> – Case is a Object API Name and SendEmail is a Button API Name

Additional resources:
Metadata types
How to create package.xml

Written by 

3x Salesforce MVP | Platform Champion | 18x Salesforce Certified | MuleSoft Certified | 8x Trailhead Ranger | TechForce Services | Sydney | Australia

Leave a Reply

Your email address will not be published.