![]() For this project, I have these files located in a folder under my ANT folder named C:\ant\RetrieveProfiles. The three necessary files for an ANT deployment are a build.properties file, a build.xml file, and a directory containing a package.xml file, which I have named retrievepkg. I have my ANT folder installed under my C:\ directory for ease of access.Īlthough there are many resources available for ANT on the web, I had a hard time getting started. This tutorial assumes that you have the most recent version of Apache ANT installed, instructions for which can be found here. Both will work,because info is the default target in the build file. To run the ant build file, open up command prompt and navigate to the folder, where the build.xml resides, and then type ant info.You could also type ant instead. In our example,it prints the message Hello World. ![]() ![]() Per Salesforce, the ANT Migration Tool is a “command-line utility for moving metadata between a local directory and a Salesforce org.” Using ANT, repetitive deployment tasks can be automated using Salesforce’s Metadata API. The echo task in the above example is a trivial task that prints a message. We want to automate parts of our deployments using Salesforce’s Metadata API. If you want to delete flow versions, use any of the options below: Workbench or ANT Migration Tool: In order to delete a flow version, the flow version must be specified in the destructiveChanges.xml file provided to Salesforce during the deployment. Hello, and welcome to Another Salesforce Blog! Here I will be posting solutions to problems that I couldn’t find an answer to in hopes of helping those who find themselves stuck when using the Salesforce platform. As a result, flow version deletion is not supported by the Destructive Changes feature.
0 Comments
Leave a Reply. |