Questions tagged [change-set]

Change sets are to send customizations from one organization to another organization.

Filter by
Sorted by
Tagged with
14
votes
3answers
6k views

Salesforce Metadata Api/ Tooling Api to build changesets

I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets. Building changesets is very tedious when trying ...
14
votes
4answers
3k views

Site goes “Under Construction” or “Unauthorized” until Page is Viewed Internally with “/apex/…”

I have been experiencing very odd Site behavior the past 3 days. Whenever a Change Set is deployed with Controllers/VF Pages used in the Site or even at other "random" times, users are redirected to ...
13
votes
3answers
3k views

Refresh change set components before upload

I may be wrong here, but isn't it the case that if you have a component selected for upload in a change set and you alter that component, you would have to delete the component from the change set and ...
13
votes
2answers
931 views

Different symbols when deploying change sets

Does any one know if there is any significance of these different symbols when deploying change sets:
11
votes
1answer
21k views

Push Process Builder flow to Production with Change Set

Is it possible to push a process builder flow from Sandbox to Production using change sets? According to Winter15 documentation, process builder is not supported by change sets. If it is still the ...
9
votes
5answers
8k views

The user license doesn't allow the permission: SubscribeToLightningReports

Currently i'm not able to deploy change set from and to sandboxes in the spring17 release with force.com profiles added. This is only due to the "export reports" option with is ticked on both side (...
9
votes
2answers
6k views

Inbound changeset not showing up in target organization

I am trying to deploy a change set and even though I have received the email notifying me that it is ready, nothing appears in the target organization. This is after multiple successful uploads ...
8
votes
3answers
5k views

Is there a way to view recently changed Apex Classes in Salesforce?

I can see multiple use cases for this, but today's case is: When deploying, we have to choose classes to add to the change set. It would make it much easier to know what classes to add if we could ...
8
votes
2answers
4k views

Is it possible to Remove fields using Change Sets deployment?

I want to Remove some custom fields by using changesets. Is it possible to remove fields using Change Sets deployment? Or is it dono manually in Production env.?
8
votes
3answers
6k views

How do I bridge a platform version difference between sandbox and production?

I was tasked with adding an app from the app exchange. As part of that process, I need to create a new trigger in the sandbox, and then move that to production via a change set. However, when I try ...
8
votes
4answers
2k views

Can including a profile in a changeset remove a permission/FLS?

Can including a profile in a changeset remove a permission/FLS? This is one thing I have always been hazy on, but I believe when we include a profile in a change set it only makes changes to the ...
7
votes
4answers
1k views

How can I deploy objects without their profile permissions?

I would like to deploy a bunch of objects from a sandbox to Production. However, I am not yet ready to give permission to the users to use these new objects. Therefore, I do not want to deploy ...
7
votes
3answers
6k views

is there a possibility for Run all tests (in target sandbox) before deployment?

is there a possibility for Run all tests (in target sandbox) before deployment from my dev sandbox? If so how to do that? I have about 700 components in my changeset and its successfully validated. ...
7
votes
1answer
1k views

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

I have a field in two sandboxes with the same ID (they both came from production). The field is on the Opportunity Let's call them sandbox1 and sandbox2. I changed the API name of the field in ...
7
votes
1answer
8k views

custom object fields not showing up after deployment

I created a changeset and deployed around 40 custom objects to another sandbox. On the destination sandbox, the custom fields dont show up on the page layout when i edit or add a new record for the ...
7
votes
3answers
4k views

Permission Sets for Site Guest User

Managing permissions on a force.com site is one of my least favorite things to do. If you got it right in dev, then move to QA, you have to write down all the permissions because you can't deploy ...
7
votes
2answers
727 views

Questions regarding Change Sets

I am using Change Sets for the first time. In the past I have deployed with Eclipse. Right now, I am attempting to deploy an entire object. I would like to deploy everything involved with the object ...
7
votes
3answers
654 views

Why Force.Com Migration Tool Does NOT deploy CustomMetadata Records?

For the first time we started using Custom Metadata types to store our Custom Settings data. We created a new custom metadta type and created some metadata records for the object Eg: Metadata ...
7
votes
1answer
6k views

How to change a field type and deploy when field is referenced in code

I have a custom field on the user object that I need to change from Field Type Text to Field Type Multi-Picklist. The field is referenced more than 500 times in 25 Classes, Triggers and VisualForce ...
7
votes
2answers
2k views

How to view the detailed debug log of the change set validation in production

I pushed a changeset from stage (sandbox) to production. Everything worked fine in stage but in production it didnt. It just says "Test Coverage of Selected Apex Trigger is 0%, at least 1% test ...
7
votes
1answer
532 views

Deploy with Active Jobs - active job ignores deployed code on next scheduled run

I have an anonymous Apex scheduled job that runs every three hours on the hour: String cron = '0 00 07,10,13,16,19,22 * * ? 2015'; MyScheduledDispatcher sd = new MyScheduledDispatcher(); System....
6
votes
1answer
15k views

How to Create Opportunity Line Items in Test Classes

All the test classes are on opportunitylineitem. I tried testing each test classes all are running with code coverage more than 75% in sandbox as well as production. When I try to migrate the newly ...
6
votes
1answer
206 views

Unexpected “CalloutException” only when validating changeset

I'm trying to deploy some code. I've tested everything in sandbox, verified unit tests pass and coverage is good. Created a changeset, uploaded to Prod. When I validate the changeset, I get 1 ...
6
votes
2answers
5k views

Apex CPU time limit exceeded

I just got this error when trying to deploy new components to Prod. It's happening on Apex test classes that already exist in Prod, not new ones in my change set. I understand that this error relates ...
6
votes
1answer
228 views

Unable to deploy httpCalloutMock based code to production due to NPE that does *NOT* occur in sandbox

Good morning. I've been beating my head against this for the past 24 hours. The following three links are: RestClient class - https://gist.github.com/2a2dd1e1b227dac24e80 RestClient Testclass - ...
6
votes
2answers
562 views

Cannot edit Deployment Connections when given rights through a Permission Set

The default System Administrator profile does not allow for creation of Change Sets and Deployment Connections. At one time we set up a clone of System Adminstrator with the following permissions ...
6
votes
1answer
1k views

error deploying entitlement process via ant migration tool and changeset

I'm trying to deploy a new version of an existing entitlement process from one dev sandbox to a full copy sandbox using the ant migration tool. <Package> <types> <members&...
6
votes
0answers
274 views

What determines the permissions for a profile deployed with change sets?

Question For a new profile created in a sandbox and deployed with a change set it'll carry with it the settings for all other metadata in the change set plus all settings that aren't specifically ...
5
votes
3answers
900 views

Field accessibility not deployed through change set

While deploying through change set, I have added one custom field (checkbox) whose field accessibility has been changed. After deploying, the field accessibility has not been changed in the target ...
5
votes
3answers
5k views

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

Can any one help me out with the advantages,disadvantages of Changesets ,Force.com IDE(Eclipse),Migration tool. Which tool is preferred. Correct me if im wrong Changes Sets :Track the history,...
5
votes
2answers
5k views

Deploying community from Sandbox to production

I have created a community in my sandbox and want to deploy it to the production org. Please suggest what is the best way to achieve. Any detailed documentation around steps would be much appreciated!
5
votes
2answers
1k views

What do Change Set statuses mean

I notice that Change Set have statuses (so far I've seen Open and Closed). What do they mean and what effects they have?
5
votes
3answers
452 views

Deleted Login Ip Range from a change set?

I did a change set this weekend, and in the logs there's one line in the audit trail that has me worried. Deleted Login Ip Range from System Administrator This wasn't part of the change set, and I do ...
5
votes
2answers
2k views

Visualforce Page Not Visible

I have developed a visualforce page and a controller for that. Then I uploaded the change set including both of them with the required profiles. But when the change set deployed in the production ...
5
votes
8answers
4k views

What is the most effective way of creating a change set?

I'm doing a big deployment (for me anyway) of 6 custom objects and a hundred or so custom fields. I'm now starting to build the outbound change set but I'm worried that I may forget to add some ...
5
votes
1answer
2k views

Average test coverage across all Apex Classes and Triggers is x%, at least 75% test coverage is required

When I try to deploy a change set, the validation step (and deploy) fails and I receive this error message: Average test coverage across all Apex Classes and Triggers is x%, at least 75% test ...
5
votes
1answer
2k views

add “map lead fields” to change set?

We're mapping lead fields using the "map leads fields." Can these mappings be included in a change set? I don't see this as an option in doing change sets from the drop down. How do you guys usually ...
5
votes
3answers
840 views

Failure of a Test Method due to UserInfo.getSessionId value?

Test method which asserts expected and actual URL fails on PROD while there are no issues on a sandbox. PROD has the actual sessionId in the URL, while sessionId value at a sandbox is: SessionId=...
5
votes
1answer
3k views

Test passes on Validation and fails on Deployment

I'm trying to deploy a change set with one updated class to production. When I run Deploy it fails because an assertion failure in some other class in my org. When I run Validation only it passes with ...
5
votes
2answers
655 views

Need help in migrating communities from Sandbox to production

While trying to deploy my community, I have been facing this error : "The page "/PartnerIncentiveClaim" for Menu Item "New Incentive Claim" must be published, begin with a / character, and consists ...
5
votes
1answer
67 views

How to best build custom code based on Managed Beta package

In the next release of our managed application we are going to deliver a big and disruptive data model change. We need to give customers time to adjust their unmanaged extensions of our package in ...
5
votes
2answers
2k views

deployment taking longer time using changesets

We currently use changesets to deploy to production for apex classes and configuration items. It is taking a long time for deployment because the validation on the production org takes a longer time ...
5
votes
1answer
364 views

Release community, A site with those parameters is already in use

We have created a community in a sandbox and would like to release it using ANT or Change sets. But we are now getting an error: A site with those parameters is already in use. I realize now that we ...
4
votes
5answers
10k views

How to deploy lightning component with change sets

Can someone Please help me to deploy the lightning components via changesets, as I am not getting any option to add the lightning component in the outbound changeset, below is the screenshot for the ...
4
votes
2answers
6k views

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

Is it possible to migrate changes to OWD's via a Changesets? If it is possible, what is the category name to look under when adding an OWD to a changeset?
4
votes
1answer
263 views

What is the Deployment Testing Scope

I have a question related to Salesforce.com Deployment. When we try to Validate/Deploy a new Change Set, am I right when I say that it will execute every single test affected by the Apex class / ...
4
votes
1answer
75 views

Timing of New Changes in Change Sets

Scenario: Change Set is created A Custom Link (labeled type "Button or Link") is added to the Change Set The Custom Link is changed in the Setup menu, specifically, the URL used The Change Set is ...
4
votes
3answers
762 views

Tracking a list of files for deployment

Whenever I make a code or config change in sandbox, I keep track of all the changes in a text document. I later use that text document as a reference to create a change set for deployment to ...
4
votes
2answers
2k views

I want to add list views of Case object to a Change set

I want to add list views of Case object to a Change set,but I didn't find at the time of creating change sets.Is it possible to deploy 'list views' using change sets?
4
votes
2answers
1k views

Change Sets and Sandbox Refresh

If I were to create and upload an outbound Change Set from a Salesforce Sandbox to Production, then (without Deploying the Change Set in Production) refresh the Sandbox, would I still be able to ...