Skip to main content

#Change Sets0 discussing

Hey all, 

 

Hope someone can give me a simple solution to this as I am tearing my hair out! 

 

I have never seen this before, yet when I'm deploying, I keep getting errors such as these - 

 

'Cannot find a user that matches any of the following usernames: test@test.com , i2bcea0Test@test.com.full; remove the user from the component being deployed or create a matching user in the destination organization.'

 

I've found it happens when i'm deploying reports, dashboards, or folders. 

 

But i don't get it - the users exist in both environments! 

 

#Salesforce Platform  #Change Sets

4 answers
  1. Apr 25, 2024, 10:48 AM

    @Cat Shelton, As user name are unique across sandboxes, such issues may occur. One of the component you are trying to deploy have reference to user name. It could be running user or members of report and dashboard folders.

    Try removing user reference and may be add it as post deployment steps.

0/9000

I'm not really a developer but was tasked with deploying an Apex Class into Production. During deployment some old Apex Classes that ran during Validation caused deployment to fail. I attempted to deactivate those classes in Partial to push up to Production but am not seeing the "Is Active" checkbox. Is there a permission I need in order to deactivate?

 

To reiterate I am attempting to deactivate them in Partial which is where I'm running into the issue.

 

Is Active not appearing when editing Apex Class in Partial

#Salesforce Developer #Deployment #Change Sets

5 answers
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Feb 3, 2024, 11:34 PM
    Hello @Christopher Wyatt

    as a first step you may try to validate again your deployment by specifying the test class you want to run ; only mention the test class associated to the class of your package.

    https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_run_specific_tests.htm

    Eric

0/9000

Hey Everyone, 

I need some help with migrating an experience site using change sets. 

 

I am trying to push the site to another dev org, but am getting several different errors when validating the change set due to names not matching up.  Salesforce changes the api names once I add it to the change set which causes issues when trying to match it up with the target org.  I also cannot figure out how to change the api names of the change set components to make them match up.    

 

Has anyone else experienced this issue or have any tips for migrating experience site with a change set?

 

#Experience Cloud #Change Sets #Salesforce #Salesforce Developer#

10 answers
  1. Nov 5, 2023, 1:41 PM

    Correct, I have all of the components added to the change set.  I finally got it to work.  My issues was due to the fact that I had to alter the site name after it was created, but not enough to where the API name was completely different.  Basically, the api name changed from "NewSiteName" to "NewSiteName2" which prevented the change set from deploying because it could not find the site/components in the target org since that site was created as "NewSiteName".   

     

    So I ended up changing the site name back to the original site name for the outbound change set in order to get the appended "2" off of the api names, and then just change the names back once I deployed the site from the change set. 

     

    I am sure with the appropriate developer tools this would be a much easier/quicker issue to resolve, but this worked for me. 

     

    Thank you for the help @Tom Bassett 

0/9000

Hi all, in my inbound change sets is an item I do not recognize.

Name: 0Af5G00001Z99he

Type: API

Deployed By: Janis Hall

Source Namespace Prefix:  npsp

111 components

 

It was deployed during a time when I was working on preparation for upgrade to Enhanced Recurring Donations, so I'd like to assume it is part of that, but I don't see anything in the prep list that looks like this.

 

I worked on the Database Preparation steps, and I also did the Validate Migration step.

 

Can anyone advise whether this deployed API is part of the work I was doing?

 

#EnhancedRecurringDonation

#Change Sets

10 answers
  1. May 11, 2023, 8:05 PM

    @Jonathan Fox thank you! Your comment about "the method" snapped everything into place. I went to my inbound change sets lists and did not see the item of concern. Then I realized I must have seen it on a Deployment Status page.

    To replicate the issue, I moved a change set into sandbox and did validation, and lo.... there appeared on the Deployment Status page an item quite similar to the one that was bothering me before. It seems to have something to do with moving or validating a change set, I expect one of these will appear every time. The really confusing thing is that the date/time is quite a bit earlier than the change it goes with. The first time it happened, there was a whole day's difference which really threw me off track.

     

    This seems to be a new phenomenon, I think I would have noticed if it was happening in the past. But I am no longer worried about it now. Thanks so much for your input.

    thank you! Your comment about

0/9000

Hi All,

 

I would like to ask how to deploy ETM (Enterprise Territory Management) and Forecasting in Production? Can Ant Migration support this or change sets? Thanks 

2 comments
  1. Mar 1, 2021, 7:57 AM
    Could you please tell me steps to deploy using data api from sandbox to prod? any reference link or videos? it would be helpful
0/9000

🏆🏆🏆🏆🏆 Congratulations and a Big Thank You to our AWESOME Top Community Contributor, @Ajeet Jain, who contributed to 357 questions during April 2020! Your efforts and valuable expertise are truly appreciated in the Trailblazer Community. Once again, thank you for all that you do to share your knowledge and expertise with our customers. We truly appreciate it! 🥇💯🌟

 

See how @Ajeet Jain unfolds with the best answer on Change Sets 👉👉👉 https://sforce.co/2SBv0Zp

5 comments
0/9000

Anyone had any experience with deploying page record with dynamic forms? We are experiencing an issue where layout is deployed but attributes and visibility conditions aren't. There is no real reference in sfdc documentation about any additional action that needs to be taken.

3 comments
0/9000

Has anybody experience or information about deployment tools? We still use change sets with all pros and cons and one of our partners suggested the tool "clickdeploy" as a replacement. Does anybody know that tool or other deployment tools? Do you have any link for a comparison of deployment tools or any good place to look for it? I really appreciate any feedback about deployment tools because we already experienced a lot of pain by using the standard change set functionality.

7 comments
  1. Apr 20, 2020, 4:18 PM

    Thanks a lot for all your feedback. I will look in to your suggestions.

    What were your most important criteria to select and use a deployment tool?

0/9000

Hi all, 

I have migrated from sandbox to production for the first time. 

And I sent correctly all of Analytics Dataflow, Analytics Recipes and so on except for Analytics Dataset. 

Although I can confirm in Change sets in setting that all of Analytics Datasets was succeeded to migrate and release, there is no dataset in data manager in production. 

Has anyone encountered this, or is there any solution for this? 

Thank you in advance. 

9 comments
  1. Mar 9, 2020, 11:52 PM
    Okay anyway it would be necessary to import again in production. I appreciate your responses @Nic Flook.
0/9000
  • How does DX fit into Deployment Tools? 
  • Suggestions on How to Easily Get test records into Dev Pro Sandbox? It's always so much better to have at least a few applicable records. Which items can and cannot go in change sets and which do you have to activate on Prod Side? Is there an order to the change set where some things have to be entered before others (i.e. always do profiles first, then objects or something to that affect?
1 comment
  1. Jan 31, 2020, 7:14 PM
    I found this awesome presentation which talkes about change sets and DX: https://www.salesforce.com/video/1777926/

    And here is a link to the Chance set best practices:

    https://help.salesforce.com/articleView?id=changesets_best_practices.htm&type=5

    Here is a list of components available:

    https://help.salesforce.com/articleView?id=changesets_about_components.htm&type=5

    And here are implementation tips for chance sets:

    https://dreamevent.secure.force.com/articleView?id=changesets_implementation_notes.htm&type=5
0/9000