Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
38 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
93 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
15 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
28 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
18 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
26 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
61 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
35 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
41 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
38 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
267 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
64 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
28 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
52 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
57 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
13 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
362 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
123 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
75 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
17 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
144 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
62 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 ...
2
votes
1answer
259 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
60 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
47 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
72 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
165 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
48 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
283 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
44 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
564 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
311 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
57 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
87 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
48 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
676 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
31 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
39 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
32 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
104 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
41 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
64 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
84 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
145 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
169 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): ...
0
votes
1answer
72 views

Add Custom profile name to Package.xml

I have been searching through a way add custom profile names in to Package.xml file. According to my scenario i shall add custom profiles only instead of all other standard profiles. Sample custom ...
1
vote
0answers
52 views

Dealing with different user permissions in different orgs when deploying profiles

I am trying to add profiles to our repository and use that to deploy to different orgs. The problem I'm dealing with is that each org has different user permissions and a user permission may work in ...
0
votes
1answer
73 views

java.lang.ClassNotFoundException: com.salesforce.ant.DeployTask$CodeNameElement

I'm trying to implement running a list of tests as per this link Run Specific Tests with Ant Deploy specified by command line or file and passing the list of tests as a parameter ${tests}, but am ...
1
vote
1answer
35 views

My Ant scripts stopped to work in the last few days. Could it be related to TLS 1.0 disablement?

My scripts have been working for years. I made no changes. Token and pass are fine. Last known successful run was about 15 days ago - around 2018-04-10. Today I got Failed to login: Failed to send ...
1
vote
1answer
286 views

What is the best way to mass update the field labels of a custom object in Salesforce?

I have a requirement to update the field labels of 200 fields in a custom object and mass delete another 100 fields. what is the most time efficient way to accomplish this? I read a post that said ...