...
Which brings the metadata down to the source on my local machine. It’s good to do this after every main action you perform so you know that any changes you are making in the org are going to be in Source and therefore in a new Scratch Org. Eg I changed my User Name and pulled source but it did not pull the user details, of course, because that is data. So I updated my scratch org definition file to have the firstName, lastName and alias I want.
Tip |
---|
Remember you can just use the UP key to re-type the same command again in the CLI terminal. And use UP UP to get to the next most recent command, and keep on going back further in your commands list. (Thanks to first learning about enterprise computing on Unix boxes for that trick). |
Issues
I had an issue where the pull command gave me the following error.
Code Block |
---|
Entity of type 'CustomApplication' named 'Account' cannot be found |
Weird
But this Stack Exchange Post kind of helped, I had to put Account.app in my .forceignore file and then it worked. Weird.
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).
The default scratch org has way too many features in it and weird settings.
Features not needed (could be developer org standard)
FSL
Analytics
Site dot com
Work dot com
Community
Lightning Bolt
CPQ
Orders
Too many Profiles
Weird Settings
Not Enhanced Profile View, but it does have Enhanced Profile List Views
Scratch Org Missing Features
What Scratch Orgs can’t do, and I would have to set up each time I re-generated the scratch org
Tab Positions (but I will change the App instead).
Profile settings of which Record Types are availble or Default
Enhanced Profile Setup