Questions tagged [change-set]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
30 views

Best practice when pushing change sets through Dev->Test->Release sandboxes [closed]

Using Changesets to migrate changes in an org with Dev sandboxes and a UAT/Test sandbox: I've always considered it good practice to push the changes from Dev->UAT for testing and then push the same ...
0
votes
1answer
27 views

How do you migrate specific Community pages from one sandbox to another?

We can deploy community pages according to https://help.salesforce.com/articleView?id=networks_migrating_from_sandbox.htm Is there a way to deploy few pages without deploying all pages. e.g. specify ...
1
vote
0answers
38 views

Can I deploy backed up outbound change set after sandbox refresh?

I want to get my outbound change set back in my sandbox after it is refreshed. Till now, I can backup my outbound change sets with sfdx force:source:retrieve command. But I can not deploy these again ...
2
votes
2answers
112 views

How to deploy picklist field whose value set was changed from local to global?

I'm unable to deploy a picklist field that was promoted to a global value set to my production environment. The global value set, and the new field in another object that uses it are both OK, but when ...
0
votes
1answer
22 views

Do you need to create new outbound changeset when components are modified?

Let's say I have created an Outbound ChangeSet with a few components like Page Layouts and Lightning Flows. I haven't pushed the change set to Production yet. In the meantime, I decided to make some ...
0
votes
1answer
17 views

Tried validating changeset and got one error

While validating changeset got this error. Please help me out
0
votes
0answers
11 views

Move objects , code etc from sandbox to Dev org [duplicate]

Is there a way we can move Objects, profiles, Apex, LWC etc from a company provided partial sand box to Dev Org? When I googled I am seeing lots of Answers also but what I feel is if there is any ...
0
votes
0answers
30 views

Deploying a Sales Cadence to another org

I would like to know if it is possible to deploy an active sales cadence to another org using outbound changeset or if the only possible way is to create the same sales cadence in the other org?
0
votes
1answer
38 views

Copy all Metadata from Sandbox to Production [duplicate]

How do you transfer all setting & metadata (not data) from a sandbox to production? I have just joined a project which has been tested and approved by the client. My first job is to move ...
1
vote
2answers
65 views

how to deploy quote templates in salesforce, I think we can't deploy using changesets? Is there any alternate ways to deploy? [closed]

https://trailblazer.salesforce.com/ideaView?id=08730000000irFdAAI Could you please share your thoughts on this, with out manual creation any other possibilities to deploy quote templates Thanks
1
vote
1answer
52 views

DML operation Delete not allowed

I am receiving the following errors: DML operation Delete not allowed on List<AccountHistory> DML operation Delete not allowed on List<ContactHistory> List<ContactHistory> conHis = [...
0
votes
0answers
26 views

Page Layout in Change Set

I Added Page Layout to outbound change set, added profiles to change set and deployed it in Production but page layouts were unchanged in production. What is the reason?
0
votes
1answer
28 views

Code Coverage issue with test class

I am trying to create a test class to move the apex trigger to production and i am getting only 42 % coverage and also i am unable to get the coverage option in developer console. Here is my test ...
0
votes
2answers
34 views

Salesforce Code Coverage Failure: Cannot deploy Apex Trigger in Production despite 100% code coverage in Sandbox

I have a code coverage of 100% for my trigger in Sandbox but when uploading my packages to production I have an error Code Coverage Failure Your code coverage is 74%. You need at least 75% coverage to ...
1
vote
0answers
35 views

Changing field from Text Area to Text Area (Long) results in cannot change type due to data loss. Why?

On a sandbox I commented out references of a text area field from : ApexClass, ApexPage, EmailTemplate, 2 Flows, and a layout. I then was able to make the change of the data type just fine. Now when ...
0
votes
1answer
117 views

How to deploy Quick Action Page Layout using change set?

How to deploy a create record Quick Actions layout using change set? I am deploying the quick Action using 'Action' Tag in changeset but i do not get the page layout of quick action. Only predefined ...
0
votes
0answers
22 views

Error deploying changeset in test class using Test.loadData [duplicate]

I'm trying to apply changeset to an org, but the following line of code in my test class: List<sObject> cmpn = Test.loadData(Campaign.sObjectType, 'testCampaigns'); and others similar to it, ...
1
vote
0answers
15 views

Translations of standard fields via change set

Is it possible to migrate the translated values for standard fields and managed packages? Due to the fact that standard fields cannot be included in the change set, i can't find a way to migrate the ...
0
votes
1answer
19 views

No code coverage in sandbox and partial sandbox before preparing changeset

we have developed one solution in Salesforce in the developer sandbox the solution contains the Apex Class,Trigger, Custom Objet and LWC. Eventually, We are planning to release this solution as a ...
0
votes
1answer
44 views

Can change set with warning still be deployed?

When during deploying change set to prod you get a warning like long-running apex test Can you still successfully deploy that change set or does the warning blocks it?
0
votes
0answers
128 views

Error deploying LWC in change-set. Programmer error: Cannot compare savepoints from two different transactions

I have two Lightning Web Components that consistently fail when I try to deploy them in a change-set. The two LWC are the only components being added in the CS and the error is consistent. Everything ...
0
votes
0answers
62 views

First error: Script-thrown exception - in the Apex Job Que after migrating an Apex Trigger and Apex class into a testing production sandbox

I have just used changesets to move an Apex Class & Trigger into a production testing sandbox. When I create a new contact in my development sandbox, I can click a checkbox which then calls the ...
0
votes
1answer
23 views

Prepare a change set to deploy an updated trigger from dev to Production

I am preparing a change set to deploy an updated trigger from sandbox to production. Now, there are associated classes and other dependencies. Do I have to add all the dependencies in the 'Add ...
0
votes
1answer
42 views

How to convert changes set to Package.xml?

We have previous deployments that took place in our Salesforce production org and we are now in transition to keep our metadata config changes in Git repos. I'm wondering if there is any easy way of ...
1
vote
2answers
2k views

Getting “Required field is missing: assignNextValueToReference” when deploying flow change set

I've created a flow in my sandbox environment and I'm trying to deploy it to the production environment via a change set, but I'm getting the following error: Required field is missing: ...
1
vote
1answer
23 views

Question: Change Set Tool that Displays component dependencies

Is there a way that Change sets or Ant Builder can detect dependencies missing from the change set component list and give a more informative error message about which components are missing from ...
0
votes
1answer
318 views

Process Builder Deployment Error: “We can't find an action with the name and action type that you specified.”

after making updates to a process builder for task record inserts, I am trying to deploy it - using change sets - to the Testing sandbox from our Development sandbox. The previous deployment - ...
1
vote
2answers
201 views

Community Deployment

I am trying to deploy community from one dev sandbox to another(through change set). When i am trying to deploy with no community with same name i get: This record isn't in the target org: Partners. ...
0
votes
0answers
30 views

Deploying Apex Method with Field History, the returning string has error List Index Out Of Bounds 0

I have this with 100% code coverage in sandbox and am trying to deploy to production via change set. When validating this method with test class in production it is showing only 70% code coverage ( ...
3
votes
1answer
92 views

Deployment validation locks

From Change Set Development Model on trailhead it talks about how metadata is locked when attempting a deployment. Validation locks the resources being deployed. You can still read and write data ...
0
votes
1answer
95 views

Query changeset components

Is there a way to easily query the components in the changeset? Perhaps SOQL? I keep getting validation errors and it's difficult to look through the components by looking at the type, if there was ...
1
vote
2answers
3k views

“You do not have access to the Apex class named …”: cannot find the cause

I have developed a Lightning Web Component in a sandbox, consisting of HTML, JS, some actions and a few Apex classes. I have tested this as sysadmin and as another non-sysadmin user. No problems. ...
0
votes
2answers
44 views

What is the purpose of adding profile to changeset

I developed a few automated flows and when creating the changeset, there is an option to add profiles. I went through the salesforce documentation, but could not find out the exact use case of adding ...
2
votes
1answer
49 views

Lightning speed Changesets

I have noticed for a couple of days now that after uploading a Changeset to Production environment it becomes available for Validation/Implementation significantly faster than it used to. Is anyone ...
0
votes
0answers
13 views

Group page layout not available in change set

For some reason I cannot add a new page layout I made for the 'Group'-object to my outbound change set. The new layout does not show up in the change set interface. Does anyone know why this might be?...
0
votes
0answers
73 views

How to convert XML to Change Set

I usually get XML package to Deploy via ANT but sometimes ANT doesn't work appropriately. In emergencies, I don't get time to fix the issue. So i wonder if I could get a way to convert XML to Change ...
0
votes
0answers
46 views

Change Set Successfully deployed, no changes

I had made some changes to the picklist values on the "Event" object (which is tied to a global action), and other minor changes. The changes have successfully deployed to the production from the ...
0
votes
0answers
20 views

Images in Output Text Broken in Flow after Deployment

Images that I uploaded directly to a lightning flow are showing up as broken image link icons after deploying it to the next environment via a changeset. I inserted the images in output text areas ...
3
votes
1answer
59 views

RecordType.DeveloperName works in Sandbox1 but not Sandbox2

I created a flow that starts off with a "Get Record" element for the current Opportunity. I then check the record Type this way: {!Get_CurrentOpp.RecordType.DeveloperName} I check the value and ...
0
votes
1answer
119 views

Custom lightning component disappears without errors in log, when button clicked, but only in production

I have the same lightning-button-stateful onclick event handler in the sandbox and in production. _handleSectionExpandCollapse(event) { let content = event.target.parentElement; event.target.selected ...
0
votes
2answers
60 views

Deployment versioning between sandboxes [closed]

We are currently having problems attempting version control between several sandboxes. We would like to be able to confirm when Sandbox_A is in synch with Sandbox_B. We are thinking we can just name a ...
1
vote
1answer
294 views

Dashboard deployment fails with Missing required fields: [ReportColumn]

I'm having an issue when deploying a dashboard from a sandbox to a production instance using Change Sets and the Salesforce CLI. Both result in the same error message: TYPE FILE ...
4
votes
1answer
250 views

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

Is there any way to access a change set and its components from a SOQL query or any other programmatic method?
0
votes
1answer
94 views

I'm unable add a lightning page to a changeSet

When preparing my changeSet from a sandbox to another one, I can add Static Resources, Apex Classes and Lightning Components BUT I got this error when trying to add VisualForcePages or a Lightning ...
0
votes
1answer
358 views

Deployment Error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified

Hello community I am facing the below error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified. I have added to the ...
-2
votes
1answer
94 views

How to exclude classes and triggers from change set validation

I'm validating a change set and getting the code coverage error stating your orgs code coverage is less than 75% i do not want any apex classes, testclasses, triggeres to be run while validating a ...
0
votes
1answer
34 views

Basic Change Set questions

I will be using change sets for the first time to deploy changes from a SDBX to a Test Environment. I have a few questions regarding how this is to be done and am hoping experts here can help. 1) How ...
0
votes
1answer
106 views

force:createRecord Lightning Component that functions in one Sandbox fails in another

Background I have a Lightning Action that initiates a Flow. The flow gathers record data, collects one variable from the user that is selected via a radio-button choice, then launches a lightning ...
0
votes
1answer
57 views

Preserving Sandbox Changes During Refresh

We are refreshing our sandbox and I've been working on a build that is not ready to be deployed into production. In order to preserve the changes during the sandbox refresh, I was going to put ...
1
vote
1answer
866 views

Which Component Type to add a Lightning Record Page to a Change Set

I am trying to deploy a lightning record page between sandboxes using change sets. It deploys successfully, but the page is not correct. I included regular page layouts, record types, all profiles, ...

1
2 3 4 5
7