Questions tagged [ant]
Apache Ant is a software tool for automating software build processes.
415 questions
0 votes
0 answers
38 views
How to deploy Calendar sharing setting using ant or project.xml or as metadata?
How can I deploy sharing settings configuration changes using ANT migration or Git? I tried fetching sharing settings related to Calendar View and Calendar Model, but the XML file didn’t have any data ...
1 vote
1 answer
105 views
ANT replacement
I wrote a c# windows application that: calls ANT Retrieve to get a package of items (say, page layouts) Edits the XML of those layouts calls ANT deploy to push those changed layouts back into SF Now ...
0 votes
1 answer
102 views
Migration from ANT to Salesforce CLI v2 - Script
Ant gave the possibility of creating a build.xml file which, by calling single operation, performed certain operations, for example: <target name="retrieveFromDEV"> <sf:retrieve ...
2 votes
0 answers
120 views
ANT EOL / Migrating to SFDX. Can SFDX authenticate with just username/password+Token on the CLI?
I've been using ANT for years. I've written c# code that wraps around ANT so my users can put in the username, password & Token and hit go and it will call out to ANT, pull down what it needs (...
0 votes
1 answer
78 views
Issue with Empty Results in ApexCodeCoverageAggregate after Validate with RunTest via ANT
I'm encountering an issue while trying to retrieve Apex class coverage after running a Validate with RunTest via ANT in Salesforce. The problem arises because, for certain classes, the coverage report ...
-1 votes
1 answer
141 views
How to Create a Test Suite in Salesforce Using ANT Without Using the Developer Console?
I'm looking to set up a comprehensive test suite in Salesforce using ANT, and I want to perform all the tasks without relying on the Developer Console. Can someone provide guidance or a step-by-step ...
0 votes
1 answer
124 views
Ant Migration Tool: How to deploy metadata in source format
We are heavily relying on ant to do manual deployment and CI/CD in one of our projects. But now time comes when we need to migrate from 1gp to 2gp package, thus we would need to switch from classic to ...
0 votes
1 answer
895 views
Error While Deploying Schedule Trigger Flow
While Deploying the Schedule Trigger Flow I am getting the following error : This flow can't reference $Record because its trigger type is None. Change the trigger type, change the flow global ...
0 votes
1 answer
166 views
Can we retrieve ContentDocuments aka Files using ANT migration tool in Salesforce? [duplicate]
I have been trying to retrieve ContentDocuments/Files using the following package.xml in ANT <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap....
0 votes
0 answers
131 views
Coding error when deploying with ant migration tool
I am trying to deploy using the ANT Migration Tool to a test environment before pushing this file to the master branch. However, when running the "ant deploy" command I get the following ...
0 votes
2 answers
728 views
Unable to deploy a report folder with ant
Hello, I try to deploy a report folder (not reports inside because sharing is modified) by using Ant but I get an error message: Error parsing file: Element {http://soap.sforce.com/2006/04/metadata}...
0 votes
1 answer
102 views
Setting up ANT facing issues
I'm trying to setup ANT in my system but it is not working well. I tried and reverified the variables and checked everything still it doesn't work. I even checked if the path is fine via CMD which are ...
0 votes
1 answer
53 views
how to pass multiple requestIDs to cancelDeploy() in ant migration tool
I have multiple deployments queued/stuck in one org that i want to cancel. I tried using ant migration tool's cancelDeployment method but it only allows one Id at a time, as per the document. "...
0 votes
1 answer
191 views
Trying to delete Apex with ANT Migration Tool - INVALID_SESSION_ID
I am trying to delete 2 Apex classes and 2 inactive Apex triggers from a production environment using the ANT Migration Tool and I am stone-walled by an INVALID_SESSION_ID error, but I suspect there's ...
2 votes
1 answer
3k views
Deployment of Flow with Formula Entry Condition
I have created a Record triggered flow that is after create or update. My flow is using the new Entry Condition of "Formula Evaluates to True" as shown below and is API Version 55. I am ...