Skip to main content

#Scratch Org Configuration0 discussing

I have been trying to resolve this for over 2h. Reinstalled npm with nvm to try and fix permission issues, and made sure CLI is installed. I used to use orgs with no problem on this device but that was in 2022. I keep running into the same error. Does anyone know how to fix the permission issue?

This is the error that I am getting:

 

Authorize org keeps failing

 

#Trailhead Challenges  #Scratch Org Configuration  #Authorize  #Creating An Org

4 answers
  1. Feb 27, 2024, 3:15 PM

    Hi @Nima Pishva,

    I'm Ravindra from Trailblazer Help team.

     

    Please feel free to mark the correct answer as best answer if any of the above responses helped you to fix the issue. Thank you!

     

    Best Regards,

    Ravindra

    Trailblazer Help

0/9000

So I've been playing around with creating some video content and created a video here that may be useful to y'all

 

How to Create a Scratch Org in Salesforce (with #Sales Cloud Einstein

https://youtu.be/K5Kwez5obpo

 

@* Customer Architect Community * @Trailblazer Community Cove @* Salesforce Platform * @* Sales Cloud - Best Practices * @* Salesforce Einstein *  @* EMEA Success Central *

 

  #Salesforce Developer  #Salesforce Platform #Sales Cloud 

13 comments
0/9000

🎧 New Salesforce Admins Podcast: Sandboxes and Scratch Orgs with Rohit Mehta

https://admin.salesforce.com/blog/2022/sandboxes-and-scratch-orgs-with-rohit-mehta-podcast

🎧 New Salesforce Admins Podcast: Sandboxes and Scratch Orgs with Rohit Mehta https://admin.salesforce.

Today on the Salesforce Admins Podcast, we talk to Rohit Mehta, Senior Product Manager for Sandboxes and Scratch Orgs at Salesforce. Join us as we chat about how to think about sandboxes and scratch orgs and some tips for how to use them better.

#Sandboxes #Scratch Org Definition #Scratch Org Configuration 

0/9000

I wonder if there is a feature or setting to mention on scratch org definition file, so that Permission Set License "FinancialServicesCloudExtension" be assigned to the scratch org user?

I see it works in case of "ActionPlans" PS is auto-assigned to the "User User", if there is the feature "IndustriesActionPlan" mentioned on the scratch org definition.

 "FinancialServicesCloudExtension" PS is required for the deployment user to get access to Branch  Management objects (BranchUnit, BUBM, etc.) Otherwise, the related metadata cannot be packaged. #Financial Services Cloud #Scratch Org Definition #Scratch Org Configuration #Unlocked Packages

4 answers
  1. Oct 13, 2022, 3:13 PM

    I also tried to use "IndustriesBranchManagement" feature on the scratch org defintion. The scratch org has been created with PS "Financial Services Cloud Comprehensive", but the PS is not assigned to the user. Package:version:create is still failing, as the user doesn't have access to Banker standard fields (my understanding).

    The user has access to the fields, once either PS "Financial Services Cloud Comprehensive" or "Financial Services Cloud Extension" assigned to the user.

    @Emily Kapner, I wonder how this KI (Unlocked package creation with dependency on Financial Services Cloud object BranchUnitBusinessMember) was resolved back in Winter '22 ? Ability to package Branch Management related metadata would be huge progress (with all the Apex Classes, Triggers and Flows created based on it).

0/9000

Hi! Has anybody been able to create a Scratch Org with MyTrailhead feature? I'm specifically looking for the licensed permission sets: MyTrailhead_Standard_User and force_Walkthroughs.

 

I wasn't able to find a related feature for a scratch org definition file here:

https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm

 

There is TrailheadSettings available but it required MyTrailhead be enabled first (see Special Access Rules):

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

 

#MyTrailhead Setup #Mytrailhead Licences #Scratch Org Definition #Scratch Org Configuration

7 answers
  1. Oct 6, 2022, 3:57 PM

    There is a MyTrailhead scratch org feature - I'll try to find the tech writer responsible for it and get it documented in the Salesforce DX guide. 

0/9000

Known Issue: Scratch Org Definitions using “release”:“preview” may Result in Scratch Org Creation Failures

 

This is a known issue and if you are impacted by it, you may want to follow it here for updates: 

 

https://trailblazer.salesforce.com/issues_view?id=a1p4V000002CMNgQAO

 

This alert is from our friend @Shane McLaughlin, Platform Architect for Salesforce CLI.

 

#SFDX CLI #Salesforce Known Issue #Scratch Org Configuration

1 comment
0/9000

Hello,

 

I'm working on mirgating a project to use scratch orgs and didn't find the setting to have the object "StreamActivityAccess" available in the scratch org so far. Any ideas what feature/setting I need to use in the scratch org definition file or which setting I need to activate in the scratch org manually?

 

Thanks!

0/9000

What should I do if I need to use a CI SDLC, but need a setting that can't be set in the scratch def file? Example being enableSharedActivitySettings.

5 comments
  1. Aug 6, 2019, 3:14 PM
    @Rohit Mehta There is no equivalent scratch def setting for "Enable "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" User Permissions" under User interface.
0/9000

Is it possible to enable AuditFieldEditing through Scratch Org configuration? We override CreatedById for some objects in our Apex and I had to have that feature enabled by Salesforce support.

 

I can't seem to find a setting that seems like it would do that for me in the Scratch Org Configs

0/9000