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.

0
votes
0answers
20 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
0answers
31 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
30 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
20 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
42 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/...
0
votes
0answers
10 views

ANT migration Package

I am trying to deploy metadata using ant migration tool. Deployment is failing with error "Unknown type name 'null' specified in package.xml". I am not able to find any closed or empty tags in the ...
3
votes
1answer
30 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
12 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 ...
0
votes
0answers
13 views

Ant Migration Tool Multiple Deployment Roots

Can we use multiple deployment roots while deploying via Ant Migration Tool. Can my build.xml contain a deploy root like the below - Build.XML deployRoot="${sf.deployroot}" Build.properties sf....
1
vote
1answer
144 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
1answer
55 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 ...
0
votes
0answers
27 views

Deploying Profiles Error

We are trying to deploy profiles from one org to another. We consistently get this error: 'You cannot deploy to a required field: Short of editing the XML to exclude all required fields is there a ...
1
vote
1answer
44 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> <...
0
votes
0answers
25 views

Getting duplicate value found: <unknown> duplicates value on record with id: <unknown> while deploying report

Getting below error while deploying reports on different org SampleReports/Asset_Extract Report 0 0 duplicate value found: duplicates value on record with id: please help
2
votes
0answers
13 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
100 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
45 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
131 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.
0
votes
0answers
57 views

Deployment Status shows deployment succeeded but changes are not reflecting in production environment

Deployment Status shows deployment succeeded but changes are not reflecting in the org in the production environment. Note that these Apex Classes and VF pages were already in the org. After making ...
1
vote
0answers
29 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
26 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 ...
0
votes
0answers
93 views

Deployment errors using ANT tool

I am trying to deploy a few components from One organization into another organization, both enterprise editions. The source organization is an earlier version with live agent and Work.com licences ...
1
vote
1answer
45 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
118 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
33 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....
0
votes
0answers
44 views

Unable to retrieve chatter public Group using ANT

I am using below package.xml for retrieving Public group that i created. I am not getting any group because of that. <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce....
6
votes
0answers
116 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
36 views

Guest User Profile deployed incorrectly

I have xml package in which I have a Guest user profile, which have all the FLS and other accesses. I deployed the same package a month back and it was deployed correctly. However, not I am trying to ...
0
votes
0answers
39 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
285 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
189 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
52 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
84 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
36 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
548 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
26 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
35 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
75 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
53 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
68 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
0answers
46 views

Package retrieve works in Workbench but not ANT

<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Contact.Add_To_Contact_List</members> ...
0
votes
1answer
105 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
119 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
55 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
46 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
62 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
189 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 ...