Skip to main content
22 votes

Salesforce Metadata Api/ Tooling Api to build changesets

It turns out you can directly retrieve and update changesets directly with the Metadata API. Via Sean Harrison‏: Pro tip: U can retrieve the contents of a change set incl. manifest with the ...
Daniel Ballinger's user avatar
12 votes

How to deploy lightning component with change sets

You Can Add the Lightning Component from- Select the - Aura Component Bundle
Sitanshu Tripathi's user avatar
11 votes
Accepted

Is it possible to migrate changes to OWD's / Sharing Rules via Changesets?

I know this is an old question, but either the answer has changed or the answer was wrong. OWD is deployed as part of the metadata of the object. https://developer.salesforce.com/docs/atlas.en-us....
horzel_evh's user avatar
11 votes
Accepted

Moving from change set model to package development model

I work for Gearset, and we talk to lots of folks with these sorts of questions, so here are my two cents based on that :) This answer to this question is less about the size of your org / number of ...
mpd106's user avatar
  • 893
8 votes
Accepted

Retrieve a change set from scratch org using sfdx?

I managed to create a change set in my scratch org and put the metadata I wanted to retrieve from the scratch org. I managed to pull that change set the same way one pulls a package: sfdx force:...
Arthlete's user avatar
  • 4,957
7 votes
Accepted

ChangeSet Issue : Cant we deploy picklist in changeset?

You can use a Change Set to deploy Custom Picklists however it will not pickup custom values in the standard picklists such as Account.Industry, Case.Reason, etc. To deploy the custom values in ...
Dave Humm's user avatar
  • 5,111
7 votes
Accepted

Unexpected "CalloutException" only when validating changeset

Per two known issues, W-2979657 and W-2839839: The workaround is to set the API version of the class which makes the callout to v.33 or lower. A class with an API version of 34 or higher will ...
Mark Pond's user avatar
  • 23k
7 votes

How To Deploy Standard Field & Permissions?

There is currently no way to perform this task if you are exclusively using change sets. This is something which will have to be manually done via the point and click interface for every profile / ...
Double A's user avatar
  • 2,133
7 votes
Accepted

"No such column 'New_Field__c' on entity 'Custom_Object__c'" when querying Object deployed via Change Set

You almost certainly omitted permissions to read this field for your profile. Edit the Field Level Security and make sure you have at least Read access.
Adrian Larson's user avatar
  • 151k
7 votes
Accepted

Timing of New Changes in Change Sets

Will the changes that occurred in step #3 be deployed in the Target org? Yes. The contents of the Change Set are not locked in until the point when it is uploaded. Once the Change Set has been ...
David Reed's user avatar
  • 93.2k
7 votes
Accepted

Invalid property [hideChatterActions] in component [force:highlightsPanel]

I work for Gearset and we've seen this error crop up a little in the past few days. It's a Salesforce metadata API bug where it looks like metadata from the newer version is leaked via earlier ...
Ellis Toms's user avatar
6 votes
Accepted

Schedule deployment change set

You can use the Force.com Migration Tool (ant) and write a small script to do this. The steps would be: ant retrieve from the source org ant deploy to the target org You would need somewhere to run ...
Kevin Boyle's user avatar
  • 1,311
6 votes
Accepted

Basic Change Set Question

When you upload the outbound change set a snapshot of the metadata is packaged together for deployment in the target org. After that you will need to clone the change set and upload again to pickup ...
Daniel Ballinger's user avatar
6 votes

Field accessibility not deployed through change set

You need to deploy Profile as well which you were changed the accessibility
HSdev's user avatar
  • 453
6 votes

Field accessibility not deployed through change set

You will need to deploy the necessary profiles along with the fields to carry over the field accessibility . Field Accessibility has dependency on the profiles and change sets by default does not ...
Mohith Shrivastava's user avatar
6 votes

How to deploy lightning component with change sets

Lightning components are available in the Lightning Component Bundle in the drop-down list of the changeset. You can refer to this:- https://help.salesforce.com/articleView?id=...
sanket kumar's user avatar
  • 15.4k
6 votes
Accepted

Why won't Apex IF statement work in Production Unit Testing after working in sandbox?

This is a Known Issue that should be fixed in Spring '19. Until then, consider using a List<String> instead (as mentioned in the workaround), or use a Set<Id> instead, which should be more ...
sfdcfox's user avatar
  • 497k
6 votes
Accepted

Is there a way to programmatically access change sets as records?

Treat change set as an unmanaged package/manage package. You can extract all the metadata as a zip using the package name. Workbench already supports this and also the CLI You can use the Salesforce(...
Mohith Shrivastava's user avatar
5 votes
Accepted

Simple trigger generates code coverage error

In order to deploy any Apex Trigger, Salesforce requires that the trigger body has greater than 0% code coverage, in addition to requiring that system-wide coverage be at least 75%. So you cannot ...
Adrian Larson's user avatar
  • 151k
5 votes
Accepted

Unable to deploy Changeset

You cannot deploy components that are version 37.0 until your Production org is updated to new release . There are certain components that you may downgrade (like apex,VF,components) using IDE and ...
Mohith Shrivastava's user avatar
5 votes
Accepted

How do you include fields values in MDT packages?

You can deploy custom metadata records in changesets, but you have to add them to the changeset (which is different from just adding the type). In the "Component Type" dropdown, look for the name of ...
Mohith Shrivastava's user avatar
5 votes

Deployed profiles not being deployed?

In order to deploy permissions with a changes you have to have BOTH of the following: Profile included in the chageset The items related to the permissions being deployed. For #2 in your case you ...
Eric's user avatar
  • 54.2k
5 votes
Accepted

Deploying Permission Sets using Change Sets - came to destination org without the Assigned Users

Permission Set Assignments are data in the org. The DML operation cannot be performed by a Change Set - but this sample code might help you in automating the assignments. // the user reference User u ...
Mark Pond's user avatar
  • 23k
5 votes
Accepted

Deployment From one Dev org to another Dev Org

From documentation:- You can move metadata only between the production org and its sandboxes. You can’t move changes between two production orgs or Developer Editions. You can take advantage ...
Reshma's user avatar
  • 4,039
5 votes
Accepted

Napili Community: delpoy navigation menu

Step 3 of the documentation/blog post you linked: Step 3: Go to the Community Management console and update your administrative settings, topics, moderation criteria, etc. as these do not carry over ...
glls's user avatar
  • 20.2k
5 votes
Accepted

Successfully deployed change set still shows in 'Awaiting Deployment', can I delete it?

Deleting a deployed change set will not roll back the changes made therein. You can delete this change set without repercussion, as long as you don't count having it missing from your deployment ...
Adrian Larson's user avatar
  • 151k
5 votes

Deployment Validations Changing Master-Detail to Lookup (or vice versa)?

When you come across something like this is is useful to link to the source in addition to providing a screenshot. I assume you are referencing Validate a Change Set If you change a field type from ...
Daniel Ballinger's user avatar
5 votes

deployment using change set- run specified test

No, it will not deploy. If you choose a test level of less than RunLocalTests, each unit will be required to achieve 75% coverage each, regardless of the average. Either run all tests, or fix the ...
sfdcfox's user avatar
  • 497k
5 votes

Changeset Management Tools?

I would recommend (we are a user of) Gearset. It works great for org-org (you don't have to use source control although that is well-supported too). Pricing is reasonable and it supports admins and ...
cropredy's user avatar
  • 72.1k

Only top scored, non community-wiki answers of a minimum length are eligible