...
To understand how the data import works it’s a good idea to understand how the Composite APIs work. as the reference values are similar.
Remember, each time you add a new field or need some extra data in your scratch org, you need to amend your SOQL statements and update you tree data.
Install an App
Of course you will need to install apps in your Scratch Org. I need to install Doug Ayers Mass Action Scheduler. Thankfully Doug provided the Package IDs on his release page https://github.com/douglascayers-org/sfdx-mass-action-scheduler/wiki/Release-Notes but you can usually see them in the install URLs for the version you are installing.
Code Block |
---|
sfdx force:package:install --package "04XXXXXXXXXXXX" |
OMG how easy is that! (Of course I don’t know how easy it is to do with all the options you need like restricting profiles, but for regular installs it’s easy).
Doug’s app is one that requires a Connected App and Named Credential set up.
Weird Things
The end goal for me would be to create a scratch org that I am happy using that has all my standard modifications in it (eg as shown in New Salesforce Org).
...
Tab Positions (but I will change the App instead).
Profile settings of which Record Types are available or Default
Enhanced Profile View
Good Things
Developer Scratch orgs come with My Domain already set up.