Package.xml Builder

This tool creates a sample package.xml file for you, with the metadata types that you choose. It is designed to help speed up the process of creating a package.xml for ANT deployments or destructiveChanges.xml files.

To use the package xml builder:

  • In the search bar type in the components you need in your package.xml
  • Select any metadata types you need in the dropdown
  • Each one you select will be automatically added to the template
  • After you copy the template, you can add specific components for each metadata type that you need for your deployment,retrieve or destructive changes
Select..
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3
4   <version>54.0</version>
5</Package>
List of metadata types
Name
Function
Lightning Component Bundle
Represents Lightning components in an org, if a package.xml is used to retrieve lightning web components, each Lightning web component is inside an lwc folder
Custom Labels
Custom labels lets you retrieve all custom labels in an org, you retrieve/deploy specific custom labels change Name for type to CustomLabel
Custom Object
Represents a custom object or standard object in an org, if you would like to bring in fields for the object as well use the CustomField Metadata type as well
Custom Tab
Custom tabs allow you to display content in salesforce by adding a tab to an app in the org
Apex Class
Represents apex classes in the org
Standard Picklist
List of values in a standard picklist field
Custom Field
Contains the metadata related to a field, can be used to create, delete and update a custom field on a custom, standard or external object. Can also update standard field definitions on standard objects
Account Relationship Share Rule
A rule that will determine which object records will get shared and how they are shared
Animation Rule
Represents the criteria for deciding when an animation is displayed to path users
Apex Test Suite
Contains a suite of apex test classes