Questions tagged [ant]

Apache Ant is a software tool for automating software build processes.

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

Azure DevOps with Ant for deployment questions

We are trying to implement our CI/CD with Azure DevOps (Pipelines) but we are facing a couple errors. Basically we were trying to created just one build.xml and one build.properties files and ...
0
votes
1answer
33 views

Checking previous metadata deployments

So I'm playing with deploys using the metadata API and I have 2 questions. I noticed that when you deploy using metadata the deploy name in "Deployment Status" is just an Id, can I change the name? I ...
0
votes
0answers
16 views

Can SFDX report files that were specified in the package.xml that do not exist in the org similar to ANT

I'm working on switching my development toolkit from ANT and MavensMate to SFDX's VSCode plugins. I attempted to do a retrieve and deploy using force:mdapi and everything returned successfully ...
0
votes
0answers
42 views

Deploying lightning app Using Ant throws Error: In field: utilityBar - no FlexiPage named “test_UtilityBar” found

I got Following when I retrieve The app <?xml version="1.0" encoding="UTF-8"?> <CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata"> <actionOverrides> <...
0
votes
0answers
3 views

Show Analytics tab in lightning app menu for a particular profile

What would be the metadata name for showing Analytics tab to a certain profile. Need to deploy the changes using ANT. Any help/pointers are appretiable.
0
votes
1answer
53 views

Can I retrieve an Email Alert via the Ant Migration Tool?

I wanted to retrieve an Email Alert via the Ant Migration Tool. However, I could not find it in a Metadata Types Reference. I suppose it's hidden under some other name like many other SF Metadata ...
0
votes
0answers
36 views

What is the name for the following to be used in XML. Pushing the following using ANT migration tool

I am using ANT to deploy the Profiles to next sandbox but I am not able to find the name to be used for following in the xml file. The following are available in Profile ->System Permissions Access ...
0
votes
0answers
19 views

Ant Migration Tool - where to get a source code

We are trying to implement some additional logic on top of sf:deploy and other targets provided by Ant Migration Tool. But need to examine a source code of those targets to better understand what's ...
0
votes
0answers
24 views

java.io.IOException: The system cannot find the path specified

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Getting an Error As java.io.IOException: The system cannot find the path specified error details ...
0
votes
1answer
34 views

ANT Migration Tool struggles

I performed a dress rehearsal into a Developer Pro sandbox using the sfdx force:source:deploy command successfully. Now that I'm trying to use the same source metadata with ANT migration tool & ...
0
votes
1answer
19 views

Ant deployment job fails: Cannot update a field to a Formula from something else

We have two custom fields: Opportunity.PrimaryProduct__c(lookup onto CustomObject__c) Opportunity.ProductFamily__c(lookup onto CustomObject__c) Any of them don't being referenced from any place in ...
0
votes
1answer
30 views

Deployment using Ant tool

After setup ANt in enviorment variable, i am checking ant version for testing its path is correctly set or not. It's showing version no. along with error "tools.jar" is unable to locate. Do i ...
0
votes
1answer
23 views

Retrieving packaged(Managed ) objects custom fields into Eclipse with Force.com IDE to deploy to another org

I added the following code in package.xml <types> <members>SCSCHAMPS__Job__c</members> <name>CustomObject</name> </types> But, After I am trying to deploy this ...
1
vote
0answers
21 views

Default recordtype setting based on profile in package.xml [closed]

I am trying to change my default record type for every profile using ANT. Can someone help me how to retrieve the data using package.xml?
2
votes
1answer
33 views

How do I retrieve all user layouts using Ant Migration Tool?

When I go to the list of User Page Layouts, I see that there are three different User layouts available in my organization Page Layout Name User Layout User Profile Layout Community Member Layout ...
2
votes
0answers
26 views

ant won't set sharing OWD on new objects?

I am using ant migration tool to deploy a new custom object to a target. This object has external sharing OWD set to Private. I've verified this in the object metadata. <externalSharingModel>...
6
votes
1answer
116 views

Get Lightning Web Component (LWC) definition on a describe

I need to describe a Salesforce Org that contains LWC, but the JSON obtained with the command: sfdx force: mdapi: describemetadata -a 44.0 -u username does not define me the LWC that should be ...
2
votes
1answer
85 views

How to mass-deactivate 700 picklist values

I am looking for a way to deactivate 700 picklist values (not manually) I do NOT want to delete the values, only deactivate them I am trying with ant migration tool with this package.xml: <?xml ...
1
vote
0answers
50 views

Error on ant retrieve(sf:retrieve requests) INVALID_LOCATOR [closed]

I am getting this error after sf:retrieve requests status for my ant job to retrieve my metadata. Error: {http://soap.sforce.com/2006/04/metadata}INVALID_LOCATOR - INVALID_LOCATOR: Retrieve ...
1
vote
0answers
15 views

How to reset a label in a CustomObjectTranslation back to its original value using the Ant Migration Tool?

I use a Case object with a custom field having an API Name of ExampleField__c and a Label of Example Field. Lets say I have a translation file for a Case object and there's a section for the Example ...
0
votes
0answers
50 views

Deploy Community Builder audience page assignments with ant migration tool?

In Community Builder, if you create audiences and assign them to page variations, you cannot deploy these using change sets, according to Considerations for Deploying Communities with Change Sets. In ...
0
votes
0answers
50 views

Ant tool migration retrieve

I am getting this error after sf:retrieve requests status for my ant job to retrieve my metadata. Error: {http://soap.sforce.com/2006/04/metadata}INVALID_LOCATOR - INVALID_LOCATOR: Retrieve result ...
0
votes
1answer
85 views

While retrieving or deploying Data using Ant Migration tool Error As java.io.IOException: Access is denied

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Gettig an Error As java.io.IOException: Access is denied. Attaching CMD Error Screen.` C:\Program Files\...
2
votes
3answers
595 views

Global Action Layout Metadata/Deploy

We are currently doing our deploys using Ant. In our package.xml, we have "almost" everything set to "*". We noticed that after a deployment, the Global Action layouts, as well the default values we ...
0
votes
1answer
44 views

Trouble retrieving package.xml components using ant

I am running into the error "Invalid username, password, security token; or user locked out" when I try to retrieve the components using a package.xml. I am trying to retrieve all the Apex classes ...
0
votes
2answers
126 views

Ant deployment doesn't recognize updated test classes and fails

I have a small set of lightning components and related apex classes that I'm trying to deploy using ant. The first deployment was fine. I had to make a change and updated the apex class that has all ...
6
votes
2answers
3k views

How do I retrieve Lightning Web Components using Ant Migration tool or mdapi:retrieve command from SFDX?

This is not clear or obvious how can anyone retrieve Lightning Web Components using Ant Migration tool or mdapi:retrieve command from SFDX? What is appropriate metadata API component which ...
0
votes
1answer
300 views

Unknown user permission: TransactionalEmailSend, CreateLtngTempFolder and ManagePropositions

I am trying to validate my components using ANT Migration tool. As soon as I validate I get these following errors :- 1) Unknown user permission: TransactionalEmailSend 2) Unknown user permission: ...
2
votes
0answers
79 views

deploy LeadConvertSettings

I'm new to ANT. I've seen some great threads on how to retrieve LeadConvertSettings, but I'm wondering if it is possible to deploy changes so that specific custom fields are no longer "mapped" (e.g. ...
3
votes
1answer
43 views

How to deploy Help & Training from one org to another in salesforce?

I have added some resources/links under help & training section in one org. I am looking to deploy this customization to another org. How can I achieve this?. Which metadata component I should ...
2
votes
0answers
61 views

insufficient access rights on cross-reference id while deploy sharing rules

Getting the error while on deploy package with sharing rules. ... <sharingCriteriaRules> <fullName>Access_Refund_UK_Supervisor_UK</fullName> <accessLevel>Edit</...
0
votes
1answer
93 views

How can I retrieve LiveAgent Settings from an org?

I am using ANT to retrieve settings from a production org. I have been successful using the package file below to get LiveChatDeployment and LiveChatButton settings. <?xml version="1.0" encoding="...
6
votes
1answer
188 views

How can I dynamically create build.xml so the only tests that run are related to the code I'm deploying?

I'm looking into routing my code through Git and am wanting to do builds using Ant. However, I do not want to run all tests on each build and only want to run tests for the files that have changed ...
0
votes
1answer
321 views

Deploying GlobalValueSet and GlobalPicklist with ANT error

I am trying to deploy GlobalValueSet and GlobalPicklist with ANT but get the following error: globalPicklists/GP0.globalPicklist Global Value Set 0 0 Not available for deploy for this API ...
0
votes
1answer
130 views

Picklist value not retrieve through force IDE

I am trying to deployed opportunity record type and business process but it is showing the error : File Name: objects/Opportunity.object Full Name: Opportunity.Third Party Fee Page Action: ...
0
votes
0answers
154 views

Related Lookup Filter Deployment Issue

I am trying to validate Knowledge__kav object and it has related lookup filter to some other custom object. This validation is done through ant. The issue occurs when i try to deploy this related ...
1
vote
1answer
1k views

Azure DevOps as CI for Salesforce

Have someone tried Azure DevOps as a CI tool for Salesforce project? If so, what are the cons? Am I able to use sfdx or at least ant scripts for testing and deploying? If Azure is not an option, ...
1
vote
0answers
235 views

Ant release Lightning page with components from managed package

I am trying to release my changes from Sandbox to Production using Ant. I have created a page using the Lightning App Builder containing components from a managed package. When releasing the page, ...
0
votes
1answer
74 views

Can't retrieve non-customizable CustomObject named: Product

Using the ANT migration tool I am able to port all my Standard and Custom objects except for product My sample package.xml : <types> <members>*</members> <members>...
0
votes
1answer
147 views

Salesforce -Moving metadata showing error at the time of deploy

I am trying to move metadata through ANT tool, data also retrieved but at the time of deploying the data to another sandbox it is showing error like : All Component Failures: triggers/...
3
votes
1answer
274 views

Is it possible to exclude files in package.xml in ANT deployment?

I am trying to exclude a file (which is in the deployment root folder) from being deployed to a sandbox. Does ant have any sort of attribute to achieve this? <target name="deploy"> <sf:...
0
votes
0answers
21 views

Know how much retrieve(Ant/Eclipse/Workbench) request is made to the salesforce org

I was curious to know, is there any way to know the number of retrieves through either Ant/Eclipse/Workbench etc. Like we can track deployment requests, Can we pull out a report, which will helps us ...
1
vote
1answer
956 views

Error : Property 'encryption Scheme' not valid in version 43.0

what i need to change here? how to over come this Error? MY package.xml is 44.0
0
votes
2answers
373 views

getting Error- You may not modify the permission Manage Customer Users while editing a Standard Profile

Getting below Error while deployment --You may not modify the permission Manage Customer Users while editing a Standard Profile . No able to found solution.If anyone gone through same issue ...
1
vote
1answer
213 views

Profile Error deploying via Ant - Manage Customer Users requires Edit Contact

I have the below setting in one of the profile: <userPermissions> <enabled>false</enabled> <name>ManageCssUsers</name> </userPermissions> <...
2
votes
0answers
26 views

Profile Mapping when installing a managed package using Ant

When installing a managed packages via Ant, is there any way to map managed package profiles to profiles that already exist in the Salesforce org? I have the following profiles in the Salesforce Org. ...
0
votes
2answers
172 views

GiveRecognitionBadge user permission

I am getting Unknown user permission: GiveRecognitionBadge while deploying the admin profile by ANT.I can the comment the permission in the profile XML and deploy but it would be great to know what ...
-1
votes
1answer
157 views

unDeploy Apex Class using ANT

When I run the unDeploy code to remove an apex class in the environment the apex test start running. Is that correct? Are they re-calculating to see if they linked and wont cause issues in the ...
3
votes
1answer
684 views

Retrieve a change set from scratch org using sfdx?

I am trying to bundle up certain metadata in a change set in my scratch org. Is there a way to pull that using sfdx? I am having trouble finding the appropriate command in the documentation.
1
vote
0answers
144 views

Issues with Case Business Process Picklist values while using Ant

Were doing a first time deploy of code to a QA box and for some reason I keep getting errors about Picklist values not present. I can see them in the Case object under the BusinessProcess section, ...