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 

Salesforce MVP | Lightning Champion | 17x Salesforce Certified | Application Architect | 7x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *