Questions tagged [change-set]

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

Filter by
Sorted by
Tagged with
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.?
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?
3
votes
1answer
7k views

How to deploy field dependencies using change sets

I want to deploy field dependencies using change sets,How to deploy field dependencies using change sets ?
2
votes
2answers
358 views

Can't upload test class

I accidentally (but successfully) uploaded to production via change set an Apex Trigger, without also uploading a Apex Test Class (doh!). I have the test class created and ready to deploy, but I'm ...
4
votes
3answers
2k views

How to Deploy Fields with their visibilities with change sets?

I've a requirement to deploy the below fields using ChangeSets from Sandbox to Production, I have one field CaseMode__c visible to all profiles except two profiles and another custom field, ...
2
votes
1answer
2k views

In what order the components in a changeset deployed in a target salesforce org?

When preparing a changeset we usually added components like a custom object, custom fields, pages, trigger, components, etc. I'm wondering if there is any order a changeset would get executed in a ...
1
vote
1answer
2k views

first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AfterUpdate caused by: System.DmlException: Update failed.

I'm trying to move a change set from my sandbox to production and I'm getting this error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, I have been looking other post and other forums and I have done checks ...
2
votes
1answer
1k views

Create multiple users in APEX test coverage

I have been trying to transport my change set from the developer sandbox to production and I'm getting an error when I try to do this. The error: Failure Message: "System.DmlException: Insert ...
3
votes
1answer
54 views

When exactly are elements added to change sets?

When exactly are design elements added to change sets? Are they added when I add the element to the change set or are they pulled in when the change set is uploaded? I've looked at the online ...
4
votes
2answers
7k views

How can I add a search layout to a change set for a standard object?

Is it possible? I want to deploy a search layout of the standard object Account.
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 ...
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 ...
1
vote
1answer
164 views

What is the actual content of a changeset?

What does a changset actually hold when it is created? Is it a list of components to upload so that when it is uploaded, the current version of components in the changeset are uploaded or does it ...
1
vote
1answer
1k views

API Version Mismatch Error when Uploading Change Sets into Production

When I try to upload a change set which includes recently changed or newly created classes(which will in the latest API version), it throws an error message saying that the API versions of some ...
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 ...
3
votes
1answer
1k views

System.DMLException attempting to validate incoming changeset

I'm attempting to validate an incoming changeset, and SFDC tells me that my Unit Test bails with the following error: Failure Message: "System.DmlException: Insert failed. First exception on row 0; ...
0
votes
1answer
1k views

email templates and change sets

If I'm moving email templates from one environment to another, do i need to include profiles? The fields within the environments should be the same, its just the email templates that differ. Any ...
0
votes
2answers
124 views

Unexpected Test Failures while deploying in Production

Is there any connection between allowable data storage and test class failures while deploying a change set in production? I tried to deploy a change set which is creating some test data. It failed ...
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 ...
3
votes
1answer
3k views

Is it posible to upload Change sets from Production to Sandbox?

I was trying to upload a change set from my production org o sandbox but I always got the same error: Change set: CP_ChangeSet10/01/2014 (04td0000000VI0v) Organization: Casas Platino (Production) (...
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
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 ...
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
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 ...
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 ...
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 ...
3
votes
1answer
2k views

apex class version changes, which leads to fail in Version Compatibility Check

Currently I am participating in existing salesforce development project. Today, I was going to deploy some classes after I made modification, I hit [Fail in Version Compatibility Check] and couldn't ...
2
votes
1answer
2k views

Change sets including custom objects and custom fields

I have always been curious how other developers deploy custom objects and fields. If I have a small amount of development work in sandbox, I can just recreate the new custom objects and fields in ...
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 ...
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?
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 ...
4
votes
2answers
825 views

Adding a custom object to a change set?

when you add a custom object to a change set, what does it include? Is it just the object and it's standard fields? I couldn't find the documentation that said this specifically...
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
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 ...
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 - ...
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 ...
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 ...
4
votes
3answers
307 views

will the change set deployment affect the ongoing data loading

I came across a situation where one of my peer is uploading some records using the data loader and it may take a long time may be more than 10 hours. My query is, what will be impact of deploying a ...
2
votes
1answer
435 views

Can moving fields from sandbox to production using change sets also make them visible for all profiles?

I am moving few custom fields from sandbox to production using changesets. Everytime i do this i need to go to each field and make them visible.. Is there a way i can say these have to be visible ...
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 ...
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 / ...
2
votes
2answers
370 views

Is an Inbound Change Set automatically deployed if it contains just tests

I deployed a Change Set containing a single test from a sandbox to production. I received an email that states the Change Set has been successfully uploaded. When I inspect Inbound Change Sets page ...
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?
4
votes
3answers
2k views

Profiles promoted through change sets appear to work only if profile already existed in target org

My experience has shown two distinct behaviors. Case 1: Placeholder Profile "Profile 27" created in production. Production org copied to Sandbox. Development and config occurs in sandbox. Change ...
4
votes
1answer
3k views

Push change set from sandbox to sandbox

Can I connect two of my sandboxes and push change sets from one to the other?
2
votes
1answer
564 views

Why would changesets not be available in an org?

I am unable to see changesets under setup in an org I am working in. The only thing I see under setup -> deploy is "monitor deployments". I am the system administrator This is a production org on ...
4
votes
2answers
1k views

How do I deploy a changeset from Sandbox to UAT sandbox to Production?

I want to create a deployment chain where I configure a changeset in a DEV sandbox, deploy to UAT (where it can be tested but not changed) and finally deploy that same changeset from UAT to Production....
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 ...
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 ...
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 ...