2022 Developer Survey is open! Take survey.
28 votes

Push Process Builder flow to Production with Change Set

If you are on Summer'15 Sandbox - Process Builder processes can be successfully deployed from one environment to another using Change Sets. You need to select "Flow Definition" in the Component drop ...
user avatar
  • 3,830
21 votes
Accepted

How to Create Opportunity Line Items in Test Classes

When working with Opportunity Line Items in Test Classes, you need to first make sure you have a pricebook, then you need to create a product, then you need to create a pricebook entry and then you ...
user avatar
19 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 ...
user avatar
18 votes
Accepted

Refresh change set components before upload

No, the "contents" of the elements in a change set will reflect the most recent version of the file until it is "uploaded". That is, if you add an Apex Class to a change set, change the class and then ...
user avatar
16 votes

Is it possible to Remove fields using Change Sets deployment?

You can either use the migration tool or delete the fields manually. Change sets cannot delete metadata.
user avatar
  • 430k
12 votes

How to deploy lightning component with change sets

You Can Add the Lightning Component from- Select the - Aura Component Bundle
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....
user avatar
11 votes

What are the advantages,disadvantages of Changesets ,Force.com IDE(Eclipse)

There are two big categories for moving changes between Salesforce orgs Change sets Metadata API (Eclipse IDE, Migration Tool, 3rd parties) Change sets Pro: Provide a nice native UI for picking ...
user avatar
  • 1,271
11 votes
Accepted

Deploying community from Sandbox to production

The deployment of communities if they are based on a Template its little different than normally how you deploy them . Here are some of key learnings Deploy all metadata as you normally do ,but pay ...
user avatar
10 votes
Accepted

Can Page Layout be deployed in Outbound Changes Set

Yes Page Layouts can be included in Change Sets. If you are not seeing your changes in the target environment there are a few things you can check. If there are new fields, you have to include the ...
user avatar
  • 2,183
8 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 ...
user avatar
  • 853
7 votes
Accepted

Can I rename API names of fields in a change set?

The API names are, in a matter of speaking, the unique Id's for your metadata. If you change the API name in sandbox 1, sandbox 2 has no idea that you did that. So when you move the metadata to ...
user avatar
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 ...
user avatar
  • 22.3k
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.
user avatar
  • 142k
7 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:...
user avatar
  • 4,441
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 ...
user avatar
  • 86.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 ...
user avatar
6 votes
Accepted

Does deploying a custom object delete any new fields only added in production?

Since you tagged your OP with change-set, I'm going to assume that is what you are using. If you deploy an object via ChangeSets - it won't deploy any fields (!). Nor will it deploy the object's tab, ...
user avatar
  • 61.4k
6 votes

Custom object tab missing after move from sandbox to production using change set

Every profile has tab settings for each object, so if you didn't include Profiles in your change set, then they are most likely defaulted to "Tab Hidden". In this case, they won't be visible. In the ...
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 ...
user avatar
  • 1,271
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 ...
user avatar
6 votes

Field accessibility not deployed through change set

You need to deploy Profile as well which you were changed the accessibility
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 ...
user avatar
6 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 / ...
user avatar
  • 2,113
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=...
user avatar
  • 12.6k
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 ...
user avatar
  • 430k
5 votes

How to deploy field dependencies using change sets

user10060, it looks like all you need to do is just add the controlling field and the dependent field to the change set, and the field dependencies will be included. If your controlling field is a ...
user avatar
  • 4,271
5 votes
Accepted

Changeset Deployment: Do I need to add custom fields separately?

Yes, when you deploy via change sets, you have to include all the individual pieces of an object explicitly. Fields and layouts are the ones that catch me most often. It can be a major nuisance to ...
user avatar
  • 3,368
5 votes
Accepted

How to check Platform Version in salesforce

Sounds like your sandbox is on Summer '15 (Api v34) while your production instance is on Spring '15 (Api v33). In your sandbox, go through all the components and (where possible) set their API ...
user avatar
  • 4,207
5 votes

Site goes "Under Construction" or "Unauthorized" until Page is Viewed Internally with "/apex/..."

@Scott Pelak If you can try this thing. goto Setup>Sites>Click on your desired community site and goto "Site Visualforce Pages" Section, In standard exception Page you will find one line <apex:...
user avatar
  • 702

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