Category: Devops

Kitchener Canada Developer Group Event: Introduction to DevOps with Salesforce DX by René Winklmayer

Special thanks to our speaker, René Winklmayer, for the session on Introduction to DevOps with Salesforce DX.Here comes the presentation and recording.Presentation: Kitchener Salesforce Developer Group Event – Introduction to dev ops with SalesforceDx from Sudipta Deb ☁ Recording: Please register to Kitchener, Canada Developer Group for all our future...

Read More

SalesforceDX : Explaining Scratch Org Definition File

Scratch Org definition file is getting used to create the shape of your scratch org. I would say it is the blueprint of your scratch org. You can use this definition file to create multiple scratch org from your repository.Scratch org definitions come from JSON text files that are stored in your project’s repository and directory structure. When an SFDX project is first created, it comes with a config/project-scratch-def.json file that defines an extremely basic org “shape” for an empty scratch org.That default scratch org likely looks nothing like your production org. You can use it for developing functionality that isn’t dependent on your org’s settings, or you can customize it using the settings that are available as part of the configuration file, or you can script your process to perform Metadata API deploys or other API actions to control settings that DX does not support yet.Ideally, the combination of your DX source code (including all your programmatic and declarative customization) with your scratch org definition gets you close enough to Prod instance.This definition file contains three main important information about your scratch org.Which Edition? As of Winter’19, it supports Developer, Enterprise, Group or ProfessionalAdd-on features: Functionalities you want to include while creating the scratch org like communities, StateAndCountryPicklist, LiveAgent etc.Settings: Org and Feature settings used to configure Salesforce products, such as nameSettings, ideaSettings, caseSettings, omniChannelSettings.Let’s dig into a Scratch Org definition...

Read More