Questions tagged [mdapideploy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
72 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 ...
2
votes
1answer
121 views

Deploy only modified metadata in GitLab to Org

I followed this Trailhead "Build an Automated CI/CD Pipeline with GitLab" and have successfully built a pipeline that can deploy [or install] a package into an Org each time I push some changes into ...
1
vote
2answers
2k views

Deployment to Production Org using VS Code

I need one help to deploy different components like classes, triggers, objects, profiles, permission sets, etc from sandbox to the production org. I used following command to deploy all the items on ...
1
vote
1answer
115 views

Property 'itemInstances' and 'processOrder' not valid in version 48.0 error when deploying in Production, even though Production is 49.0

When trying to deploy the converted metadata using VS code sfdx force:mdapi:deploy deploy to my Production Org and I get the error Property 'itemInstances' not valid in version 48.0 and Property '...
1
vote
1answer
42 views

How long does deployment of custom metadata from apex take in a production org

We are looking at using custom metadata type in a managed package. When in a scratch org deployment of custom metadata is speedy. For those of you who have done this in production, does deployment of ...
1
vote
2answers
134 views

Deploying mdapi and source to org is failing with “Unexpected file found in package directory”

I'm having trouble deploying my mdapi Steps: sfdx force:mdapi:retrieve -s -r ./mdapipkg -p -- This gets the latest version of managed package from our Packaging Org -- I did not convert to the new ...
1
vote
1answer
97 views

SFDX: force:mdapi:deploy -r to reference a file

Is it possible to reference a file within force:mdapi:deploy -r in order to extract the names of the test classes to run? What I am trying to achieve is something like: sfdx force:mdapi:deploy -c -d ...
1
vote
3answers
333 views

Does SFDX force:mdapi:deploy respect .forceignore file?

I'm trying to work in a github repository project that is not in Source format and is using Metadata API format structure. The repository has stored all component code into an src folder including ...
1
vote
0answers
772 views

SFDX deploy ECONNRESET

During a sfdx deploy, the CLI launched a random exception: ERROR running force:source:deploy: read ECONNRESET Build step 'Execute shell' marked build as failure Someone has an idea of the problem? ...
0
votes
1answer
311 views

How to check deployment history in production org

In production org when I click on the deployment status, it shows a list of passed and failed deployments like below image if it is deployed from a changeset then in name section it shows the name ...
0
votes
1answer
144 views

Second Generation Package metadata deployment to packaging org

I'm having issues deploying my mdapi output directory to my packaging org. I'm using SFDX and second generation packages. I'm almost considering trying to create a 1GP from my source. Do the following ...
0
votes
0answers
15 views

Admin.UserCanEditFieldPermissions error while deploying using Bamboo

Error: "profileName", line 0: Error Admin.userCanEditFieldPermissions Having trouble finding information about the above error when deploying Profiles using Bamboo. The deployment in ...
0
votes
1answer
31 views

Unable to deploy contact object and custom setting

I am trying to deploy contact object field,email alert and custom setting but during deployment getting below errors. objects/Contact.object -- Error: Error parsing file: Element fields is duplicated ...
0
votes
0answers
106 views

SFDX force:mdapi:deploy Profile Search Layout: - System Administrator - not appropriate for object

I am trying to use force:mdapi:retrieve with force:madpi:deploy to move some sandbox dev org custom objects and supporting customisations to a scratch org, in order to be able to subsequently push a ...
0
votes
0answers
91 views

Deactivate all triggers and validation rules as post refresh step?

I have multiple sandbox related to the production org. Currently I wanted to refresh my full copy sandbox, There is a way that i can provide an apex class to run post refresh. The apex class which ...
0
votes
0answers
76 views

ANT deployment error in Communities?

I have a partner community which had a 'New Lead' link on community header which opened up Lead list view. Now i have changed it to open a community page. When i deploy this change set using ANT to ...
0
votes
0answers
179 views

force:mdapi:deploy fails with RunLocalTests + test coverage > 75%

As other people (see Code Coverage during sfdx force:mdapi:deploy) I am unable to move code using sfdx force:mdapi:deploy to another org due to Apex Class Coverage. But as @sfdcfox notes out: If ...
0
votes
1answer
39 views

Test methods not executing on sandbox org while deploy metadata

I'm trying to run ant command - deploy and deployCodeCheckOnly - on my sandbox org. In both targets, testLevel attribute value is RunSpecifiedTests and RunLocalTests. Commands executed successfully ...