Questions tagged [ant]

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

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

How can I resolve circular dependencies in Ant destructive changes

Trying to change a field type, that fieldtype is referenced by a page, which is referenced by a weblink, which is referenced on a layout. I'm attemptiong a destructiveChangesPre.xml to take them out ...
0
votes
1answer
39 views

Destructive changes for all apexclasses and components

I want to delete all the LWC components and Apexclasses using destructiveChanges.xml. I tried with <types> <members>*</members> <name>LightningComponentBundle&...
0
votes
1answer
37 views

Export records from Salesforce to deploy to another org which are useful for configurations like Custom Settings

I have retrieved the metadata from sandbox to deploy it to the higher org using ANT. ANT have created folders for all the components like objects, classes, etc. But, it did not retrieved many records ...
0
votes
0answers
24 views

Retrieve every records for each custom settings [duplicate]

I want to know a way to download or export or view all the records for each custom settings without querying them individually. I have tried a chrome extension called Custom settings exporter for ...
1
vote
1answer
32 views

When is it correct to use a <fullName> tag in a package.xml? What is the benefit of 'naming' an unmanaged package?

I am working on a project that involves deploying a sequence of Managed Packages and unmanaged packages (using an ant deployment). As I was onboarded to the project, I noticed the unmanaged package....
3
votes
0answers
35 views

Error “permissionsets/MYPERMSETNAME'S.permissionset — Error: insufficient access rights on cross-reference id” when deploying using ANT

We are currently using Azure Pipelines as our tool for CI/CD. For our Deployments, we are currently ANT and everything was working fine until we added "Permission Sets" and "Profiles&...
0
votes
0answers
12 views

Move objects , code etc from sandbox to Dev org [duplicate]

Is there a way we can move Objects, profiles, Apex, LWC etc from a company provided partial sand box to Dev Org? When I googled I am seeing lots of Answers also but what I feel is if there is any ...
0
votes
0answers
38 views

Dataloader stopped working after installing Ant [duplicate]

I installed Ant and after this, Dataloader stopped working - when I run Dataloader then this window is popping out: After this, about there is line "The system cannot find the path specified.&...
5
votes
1answer
96 views

Deployment is failing due to “weird” character

Our admin created a new picklist field (Client_Temperature_Status__c) on the Account object and the values added are actually emojis selected using the Emoji Picker on Windows. Here are the values ...
0
votes
1answer
17 views

How to retrieve the Type field on the Event object?

Type is a standard picklist field on the standard object Event and I want to retrieve the field as I made a modification to the picklist values but I am unable to retrieve it when I retrieve the event ...
1
vote
0answers
56 views

How to Deploy Inactive Duplicate and matching rule

Before Data migration, we perform some pre-steps to migrate the data (data from source to destination Should be same) Deactivating duplicate and matching Rules is one of the steps we perform as the ...
0
votes
1answer
126 views

error ANT deploying flow which uses Winter '20 features

I edited and tested two flows in my SB that they now use the new Flow winter '20 feature whereby in 'Get Records' step I am letting SF automatically define the record variable (getCandidateQnRecord) ...
0
votes
1answer
61 views

Error: Unknown user permission: ManageSandboxes

When System Administrator profile is deployed through metadata, got the following error. Unknown user permission: ManageSandboxes Then I logged into my target organisation and checked Setup -> ...
0
votes
0answers
65 views

Ant validation/deployment errors using sessionId

I have a weird problem with Ant setup on CI. I have a script that fetches access token using JWT. The token is retrieved successfully, and when I want to use it with Ant deployment (switching in ant ...
1
vote
0answers
93 views

Deploy with BitBucket pipelines and ant migration tool - commit hash of last successful build

I am using ant migration tool in bitbucket pipelines to deploy metadata into Salesforce instance. This pipeline runs for every commit pushed to master branch. The build process takes a considerable ...
1
vote
1answer
26 views

Ant salesforce.jar extensions

I was trying to find some informations about running scripts after ant deployment and I found this thread: Run some script on deployment That might be a silly question, but is the solution described ...
0
votes
0answers
22 views

CLI Dataloader to Sharepoint - Url error

I am trying to extracting an object from salesforce to sharepoint through CLI. I could achieve it in local machine however for sharepoint. I am receiving following error. DataloaderFiles\config\...
1
vote
1answer
130 views

How to deploy Opportunity Stage picklist using Apache ANT Tool?

How can I deploy the Opportunity Stage picklist of my Sandbox to production? I've retrieved it with ANT but can't deploy it... I've retrieved from the sandbox, changed some text in the description and ...
1
vote
1answer
57 views

How to retrieve changes in default community login page via ANT?

I'm having a small issue retrieving changes in a community. I have a customer community in which I use the standard or default login page. I changed the logo and the colors of the standard page in ...
0
votes
3answers
331 views

Run Specific Test Classes Ant Deployment Tool

I am using ANT deployment tool on Salesforce to run specific test classes. For an example, my build.xml looks like below. <target name="deployCode"> <sf:deploy username="${sf.username}" ...
1
vote
2answers
96 views

Speed up/optimise build time (ant deployment)

I have a build/ant deployment related question for which I did not find any reasonable answers with a google search, hence posting the question here. I have around 9 individual repositories where one ...
1
vote
1answer
30 views

Ant Migration tool : Running a Subset of Tests in a Deployment

In the build.xml , is there a way to specify a list of test classes to be added for running on deployment from a external file instead of hard coding it in the build.xml https://developer.salesforce....
0
votes
1answer
40 views

Deploying Profile with new class access using ANT

I need to deploy a new class with profile access. Is it fine to include only that class in the profile metadata while deploying and it wont override the existing access or Do we need to consider all ...
1
vote
1answer
124 views

Why can't I deploy a Process Builder referencing a Custom Metadata in a Formula?

I created a Process Builder in which I reference a Custom Metadata from a Formula inside of the "Update Record" action. It works fine on a Environment 1, but I have trouble with deploying it to ...
0
votes
1answer
50 views

Deploy Salesforce components using Ant and a manifest

My question here is based on this: Deploy Selected Classes with Ant But since that question has seven years, is there a better way to deploy metadata components with Ant using a manifest.xml to ...
0
votes
1answer
422 views

Unknown type name 'SurveySettings' specified in package.xml

I have retrieved source with a package.xml which includes following segment <types> <members>*</members> <name>Settings</name> </types> <version>...
1
vote
1answer
415 views

“Invalid literal value for picklist:” Error when deploying WorkflowFieldUpdate via ANT

Workflow Field Update is failing to deploy/validate due to the following error: Invalid literal value for picklist:<yourPicklistValue> What causes this?
0
votes
1answer
914 views

Ant Invalid username, password, security token; or user locked out

I am using ANT to build an xml file but get the following error: Error:[LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, password, security token; or user ...
0
votes
1answer
110 views

Migration between 2 production orgs

I have the duty to migrate a production org into a new(fresh new) Salesforce org, only metadata wise. That includes custom objects, customization to standard objects, proccess builders, approval ...
0
votes
2answers
45 views

Fetching standard object through ANT

I am facing a validation rule related issue on a field in Case object. To find the exact problem, I need to search every validation rule for each field. To do that I am trying to fetch the Case ...
2
votes
1answer
73 views

Not able to get Asset Level field permission through SOQL

I have a permission set named abc. Permission to Asset Level field for Asset object is defined like below in abc: I am trying to get field level permissions for abc permission set using the below ...
1
vote
0answers
261 views

Hide user name and password from build.properties in ANT

I have created build.properties and build.xml for the ANT setup to retrieve components. build.properties looks like below: # build.properties # # Specify the login credentials for the desired ...
0
votes
0answers
81 views

is Sharing rules get recalcuated on deployment of Same OWD

I have one repository where i have OWD for account,contact and some other custom objects which is same as in salesforce org. Is Sharing rules getting recalculated if I deployed the same OWD. Please ...
0
votes
1answer
67 views

deployment error for Entilement object

I'm trying to deploy entitlement object meta data, layouts, and fields through ant tool. However, I keep getting an error: Invalid fullName, must end in a custom suffix ( for ex. __c ) Anybody ...
0
votes
1answer
483 views

Deployment Error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified

Hello community I am facing the below error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified. I have added to the ...
2
votes
1answer
131 views

Deployment issue with knowledge page layout required fields

I have custom field on Knowledge object. And made that custom field as required on Knowledge page layout. When I deploy using ant from one sand box to another that custom field is not effected(means ...
0
votes
2answers
524 views

ANT Migration Tool Issues - Failed Login: API security token required

I am getting the following error when using the ANT Migration Tool to retrieve/deploy to our org's full sandbox. "Failed Login: API security token required " However, our org does NOT use Security ...
2
votes
1answer
564 views

“Metadata Through Metadata API Functions” permission Not Working

I want to make a permission set such that a user only has Metadata Access and preferably only Read-Only Metadata access through Ant. The idea is I want to make a "Backup Metadata" user. I do not want ...
0
votes
1answer
84 views

How to enforce code coverage using Salesforce Migration Tool (Ant) whilst targeting a sandbox?

I am preparing an Ant package to move code to production. However, many of the existing orgs tests are very out of date and are failing. At this point, my only option is to select tests that cover the ...
0
votes
1answer
33 views

What is the API name of system permission for analytics?

What is the API name of the system permission View Analytics on Communities pages? This system permission is not getting retrieved from my org.
0
votes
2answers
299 views

ANT: Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): INVALID_CROSS_REFERENCE_KEY: No package named 'Retrieve1Objectpkg' found

I keep getting the above error. I am trying to retrieve one custom object and the CLI keeps saying that the package is not found. Based on the prompts, it seems that I need to have a value for package ...
0
votes
2answers
283 views

Error while deploying new Public Group using ANT

I'm getting the following error while deploying into my Sandboxes using ANT: 2019-09-19T15:15:28.4944305Z All Component Failures: 2019-09-19T15:15:28.4945450Z 1. groups/Service_Desk_Users.group -- ...
1
vote
0answers
131 views

How to rollback metadata changes using Jenkins and bash script

I am working on a project in which I have to rollback the metadata components which we have deployed into destination org using Jenkins. Does anyone have built this kind of project / Scenario. Steps ...
1
vote
2answers
158 views

What happens when you deploy object using ANT and all fields from source to target Org?

On the object level - does it do a full replace? For example on the Account or custom object. On identical fields - does it do a full replace or does not deploy or create a duplicate field?
0
votes
1answer
32 views

Ant logs from deployment and validation in java app

I have a problem with logs from ant command. When I run command in CMD i see step by step progress of deployment or validation but when I execute the same target in my java app I do not see mentioned ...
1
vote
1answer
2k views

Salesforce deployment using Ant and SFDX

Our project is in this format after using sfdx force:mdapi:convert -r src it converted to this which doesnt have package.xml Using sfdx force:source:convert converted project to this format with ...
0
votes
1answer
660 views

Failed to send request to error in ANT

Getting this error when trying to retrieve package using ANT - I have moved the ant-salesforce.jar file into the lib folder and I have set the proxy BUILD FAILED C:\ANT\build.xml:34: Failed to ...
0
votes
0answers
403 views

No Custom Field named found Custom report type

I have a custom report type of category Accounts & Contacts, on running the Jenkins build, I am receiving the following error. The field mentioned here reportTypes/...
0
votes
0answers
313 views

Removing controlling field values (picklist dependencies) during deployment

We have multiple orgs on which we are running deployments using jenkins and ant deployment tool. We have problem when removing dependencies during deployment. So basically I'm able to remove ...
1
vote
3answers
2k 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 ...

1
2 3 4 5
8