Skip to main content

Questions tagged [change-set]

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

Filter by
Sorted by
Tagged with
10 votes
1 answer
991 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....
1 vote
1 answer
1k views

Error during validation of change sets: "Required field is missing: pageOrSobjectType"

I'm having trouble with the deployment of a lightning app through change sets. This is the error I am getting: Required field is missing: pageOrSobjectType So I went through the source code of the ...
0 votes
0 answers
44 views

Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: [] on Contract Insert

I am getting this error while I run the Test Classes trying to validate a Change Set between Sandbox and Prod. The error is pointing to the line where I Insert a Contract with an AccountId related to ...
0 votes
1 answer
32 views

How to add modified field dependency i.e in case of custom object and custom picklist fields....to outbound change set in salesforce?

How to add modified field dependency i.e in case of custom object and custom picklist fields....to outbound change set in salesforce?
0 votes
1 answer
36 views

Apex Class not working in Prod. Works great in Sandbox

I am really new to Apex, so I apologize if this has been asked/answered. I created an Apex class for a flow in the Sandbox. It was working great, when I used the outbound change set to move it to ...
1 vote
4 answers
2k views

Using Change sets got an Error at Validating Assignment Rule:

Can any one help me out. I have an assignment rule on case object in sandbox as well as in production.Now we have added two rule entries to the same rule based on the profile user in sandbox .Now can ...
0 votes
0 answers
94 views

Change set error validating the flow definition component

First of all I have 2 errors. 1.Error validating the changeset. -I have a flow I created but I'm getting this error message in changeset: "insufficient access rights on cross-reference id" ...
3 votes
3 answers
13k views

How To Deploy Standard Field & Permissions?

When I create a change set, there is no option to pick the Contact.Email field. How can I deploy a standard field and include permissions for it?
0 votes
1 answer
3k views

Salesforce Community: Adding Asset files to a change set and validating without errors

I am in the process of migrating a salesforce community from the dev sandbox to full sandbox. I have successfully created and validated all required Components Available in Change Set, (https://help....
1 vote
0 answers
32 views

visual force page deployment using change set

I am trying to deploy the visual force page using the change set and getting the error "
1 vote
1 answer
2k 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
0 answers
298 views

Package install error "We couldn't validate Custom Action"

I have this unmanaged package with a custom quick action (in a custom object) calling a flow. All details are part of the package (uploads correctly), but when installing in a fresh org, I got this ...
0 votes
1 answer
57 views

Insufficient privileges when adding fields in package (changeset)

I am getting an "insufficient privileges" error when adding fields (yes, just fields) to a package I'm building, despite the fact I'm system administrator using a DE (I am creating a brand ...
13 votes
2 answers
2k views

Different symbols when deploying change sets

Does any one know if there is any significance of these different symbols when deploying change sets:
2 votes
5 answers
10k views

Class coverage is 0%

I am moving my classes from Sandbox to Production. All the classes have a minimum coverage of 80% in my sandbox. The change set contains both my Apex class and the test class. But in my production, I'...
0 votes
2 answers
2k views

changeset error - salesforce selected flow must have an active version

Our changeset contains flows, page layouts, user profiles, community, apex, etc. It is a very bulky changeset. How do you solve this error?
0 votes
1 answer
116 views

Salesforce LWR Experience Cloud Deployment Error - "add a default owner for guest-user created records."

I am trying to deploy a experience LWR experience site, i added the network component to the change set and added all its dependencies. then i uploaded it to a sandbox and the site was successfully ...
1 vote
1 answer
2k 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 ...
2 votes
1 answer
956 views

Outbound change sets missing after migration to Hyperforce?

Past weekend my main developer sandbox was migrated to Hyperforce. Everything appeared to be OK, until I wanted to add something to an outbound change set. They were all gone. In the documentation re. ...
4 votes
2 answers
7k views

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

I came across the below notes in one of the Salesforce guides around deployments. From the below statement, i could not understand, if Salesforce is trying to say that we cannot run validations, ...
1 vote
1 answer
447 views

Moving the messaging channel from one org to another using changset

I just want to asked if its possible to include messaging channel to outbound changset?
5 votes
2 answers
5k 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 ...
0 votes
1 answer
1k views

DevOps Promotion Failed, how to change or delete?

Our team is using a DevOps Pipeline that starts from our individual sandbox, moves to an integrated sandbox, moves to a full sandbox, and then attempts to deploy to production. In my sandbox, I ...
0 votes
1 answer
53 views

Help deploying apex trigger into production

So attempting to deploy my trigger into production I've created a test class and I got 100% coverage. When I create a change and and deploy it from production I am getting these errors. Not sure what ...
1 vote
3 answers
1k views

Can you change set a Big Object?

I am trying to change set a big object from my developer sandbox to a full sandbox. I have seen here in the dev notes that it can be done via the metadata api. But nothing about changesets. So I ...
6 votes
3 answers
2k 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
3 answers
8k 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, ...
0 votes
2 answers
3k views

Error while deploying a Change Set: Could not find related list [AttachedContentNotes] for entity [Contact]

I am trying to deploy a Change Set to a different Org. I am getting the following error: Could not find related list [AttachedContentNotes] for entity [Contact] Any ideas on what could be causing ...
0 votes
1 answer
188 views

Can I configure a profile to deactivate after 90 days without access to Salesforce Service Cloud?

At the company where I work, we have several profiles that use Salesforce Service Cloud, but many of these profiles have not been used for a long time. And from time to time I have to check each ...
4 votes
1 answer
7k views

Is it possible 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) (...
1 vote
2 answers
8k views

Migrate Flows with ANT migration tool

I have a process builder flow which has a 9 versions of it. Wanted to deploy the mentioned flow through ANT migration tool and found that the flow is not deployed properly. The result is: I got 2 ...
1 vote
1 answer
3k views

Are all Flow / Process builder 'versions' pushed in a changeset?

Are all versions of a flow/ process builder pushed through in a changeset? I have over 30 versions and I only want the latest, Active one... Do I have to save it as a new flow and use that in the ...
0 votes
1 answer
1k views

Visual Studio Code - can we compare Metadata in two orgs

A client is moving away from change sets to Azure Devs Ops. However, for now deployments are done using change sets, The org size is small, and currently no custom code, only config - custom fields, ...
0 votes
0 answers
234 views

Can not complete deployment from of a community site from one sandbox to anther due to error parsing file

When we do a deployment of a Digital Experience site from one sandbox to another, using changesets, we get an error during the validation process that states: Error parsing file: Element {http://soap....
0 votes
1 answer
388 views

Issue with deploying change set with trigger

This is a follow-up ask to this question regarding code coverage. I've achieved 100% code coverage doing unit testing in our sandbox. I attempted to deploy the trigger and test class to production ...
0 votes
0 answers
160 views

Does validating a deployment impact application performance?

Earlier today, I was using Copado to validate a change set to UAT sandbox that included ~40 apex classes and running code coverage for all of them. Within the same 30 minute time period that the ...
0 votes
1 answer
41 views

Does changing api names of a field which exist in a change set gets synced

I had a bunch of fields added to a outbound change set, after adding them to the change set I updated the api name of those fields. so will the change set have the field names with updated api names ...
7 votes
1 answer
987 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 ...
1 vote
2 answers
1k views

Revert Change sets

I want to roll back apex class updates which I deployed via change set. Is there a way where I can revert the Inbound Changes sets from production?
0 votes
3 answers
2k views

Why will my change set fail on 0% code coverage while i get 100% when running the tests in the sandbox

I know this is a popular topic but I am still stuck, would appreciate it a lot if i could get some help figuring out why I can't deploy this trigger and test class, it work perfectly fine in the ...
0 votes
1 answer
3k views

Flow error "getToken (Action) - We can't find an action with the name and action type that you specified."

I installed this package in a sandbox and it works great. I have a flow call an action which this package created to do call out to an api. I created a changeset to copy the flow to another sandbox. I ...
3 votes
5 answers
23k 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
1 answer
4k views

Deployment Error: We couldn't retrieve or load the information on the field: Record.OwnerId

The changeset deployment is for a lightning record page, but it's a detail of a master-detail which is also in the deployment. I know that a detail does not have a Record.OwnerId, because it uses the ...
5 votes
3 answers
2k 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=...
0 votes
1 answer
432 views

Are files ".cls-meta.xml " deployed through change sets when I deploy .cls file?

I did a change in a metadata of a class (ClassName.cls-meta.xml) If I would deploy ClassName.cls apex class through change sets, then file ClassName.cls-meta.xml would be deployed also?
0 votes
1 answer
682 views

Permission set not availble in Change set!

While deploying a community, got the below error In field: permissionSet - no PermissionSet named <permission_Set_name> found I created an outbound change set, after "ADD" under ...
0 votes
1 answer
2k views

How can I deploy my flexi-page via change sets?

I created a flexi page. How can I deploy this to Production via change sets? What should I add to change sets? I can't see any "Flexi page" component in "Component Type"
2 votes
3 answers
2k views

Why Can't I deploy In-App Guidance From Change Set?

I'm having trouble deploying an active in-app guidance via a change set (dev to partial). In the change set, i've selected 'Prompts' as what to deploy, and I've included the assets that I've used (...
1 vote
1 answer
133 views

Ant migration tool - keep track as Change Set

Is there a way to deploy meta data through ant migration tool and keep track of this deployment in salesforce? In the same way as change set appear as inbound change set. thanks,
3 votes
1 answer
14k 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 ?

1
2 3 4 5
9