Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ant]

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

0
votes
0answers
21 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
36 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\...
0
votes
1answer
75 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
41 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
37 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 ...
4
votes
2answers
734 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
189 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
45 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
31 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
31 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
49 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
86 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
99 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
84 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
68 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
608 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
116 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
40 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
79 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
144 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
17 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
660 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
204 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
127 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
21 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
157 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
98 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
412 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
101 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, ...
-1
votes
1answer
61 views

How to dynamically change mkdir dirrectory names in build.xml file [closed]

Consider below example build.xml file. How do i dynamically set mkdir dir="directory" name (bolded part in the example build.xml content). Example it should change name everytime it runs and not ...
1
vote
1answer
107 views

Ant Problem deploying field on custom metadata type

I am trying to deploy a field on a custom metadata type using Ant. Here's my package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> ...
0
votes
1answer
217 views

Pass variables to build.xml from VSTS build [closed]

I'm setting up the build pipeline in VSTS (Visual Studio Team Services), and I'm not able to pass a variable to the build. I don't know what the syntax should I use actually to get the variable in the ...
0
votes
1answer
72 views

Data Loader CLI - disable debug messages

I'm trying to turn off the DEBUG messages from Data Loader CLI's output when running. As per the documentation I have set sfdc.debugMessages to false, but it's still outputting them. I have set sfdc....
6
votes
0answers
467 views

How to dynamically retrieve ANY report in a folder using package.xml

In ANT or Eclipse I want to retrieve ALL reports of a given folder WITHOUT declaring each report in package.xml line-by-line expressis verbis. What Eclipse is generation, when I subscribe to a folder ...
0
votes
0answers
53 views

Profile component Error when deploying using ANT

im trying to deploy System Admin Standard profile from one Org to another one. We are getting this error: All Component Failures: profiles/Admin.profile -- Error: The user license doesn't allow the ...
0
votes
1answer
1k views

Deploying Lightning Pages to sandbox

I am trying to deploy Lightning pages via ANT as below - <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>New_Hire_Module_Record_Page1</members&...
0
votes
1answer
485 views

LIMIT EXCEEDED during ANT retrieve call

I am trying to retrieve metadata from Salesforce using ANT retrieve but it goes in timeout and I get the following error message when I restart it: (Error: Retrieve failed: {"done":"true","...
0
votes
0answers
65 views

Salesforce Delta Deployment / Change Tracker

We have a requirement to generate the Salesforce components modified between two dates. I can achieve it by generating package.xml for the entire org and then leveraging GIT diff to obtain the delta ...
0
votes
0answers
95 views

ANT - Sandbox deliverability “System only” removes email activity tab from contact

We are using ANT scripts to release changes from our Sandbox to our Production environment. Our Sandbox has email deliverability set to "System email only" to avoid emails being send to customers. ...
-1
votes
1answer
64 views

Pulling a list of updated query fields that DataLoader uses

How can I pull a list of the same query fields the DataLoader WebUI uses when you go to export each Salesforce data object to a CSV file? This list of query fields will be used in the DataLoader CLI ...
4
votes
1answer
828 views

Deployment Error: Property 'activateRSS' not valid in version 28.0

I am using ANT to deploy a custom package which includes custom code and managed packages. I have deployed the custom package to multiple environments without any issues but I am now facing the ...
0
votes
0answers
36 views

Delete MultiselectPicklist custom field values with Metadata API / Ant Deployment Tool

Is it possible to delete values from custom field of type MultiselectPicklist with Metadata API / Ant Deployment Tool? I've tried to deploy a custom field without deleted values but it deactivates ...
0
votes
1answer
46 views

ANT issue on Mac

I'm not even tryin to do a deploy. All I am doing is a retrieve. No deploy yet. The error is: Failed to send request to https://${sffrom.serverurl}/services/Soap/u/43.0 Ant in verbose mode ...
1
vote
1answer
35 views

How to get all failures at once in ant migration tool?

does any know how to get all failures at once in ant migration tool when deploying? it gives a subset of failures each time when you try to deploy.
-2
votes
1answer
140 views

How to deploy bitbucket framework to Sandbox? [closed]

How to deploy bitbucket framework to Sandbox? I cloned my bitbucket branch and I have a copy on my desktop. How do I get the javascript framework I copied to Salesforce sandbox? I read the ...
0
votes
0answers
45 views

Issue while deploying code to my personal sandbox

here i get follow issue,while deploying recordtype metadata to my personal sandbox "An unexpected error occurred. Please include this ErrorId if you contact support: 1910791531-37722 (1991051430)"....
0
votes
0answers
74 views

How to handle code dependency while deploying code?

Here is a scenario what I have, I have two dev org (development, Testing), one Bitbucket repository and AWS EC2 that contain Jenkins with ANT migration tool. I am not able to move all code in one ...
1
vote
1answer
113 views

How to ANT refresh developer sandbox with Production metadata?

I do understand that a dev sandbox can be refreshed from a production org via the Setup UI. However, I want to be able to refresh my dev sandbox with the production org GIT repo (SFDC_REPO) so I can ...
0
votes
1answer
179 views

ANT Migration to add namespace to packaging org? [closed]

I have two dev org one where I did code and other is packaging org where I have to create a managed package. How can I configure ANT tool with build.xml and build.properties files to add the ...
1
vote
1answer
216 views

Fatal Error on a deployment to Production

Trying to validate a change to our Prod org, but it keeps failing with H:\workspaces\EmergingMarkets\build.xml:19: Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): ...