Develop an App with Salesforce CLI and Source Control

May 25, 2020

This is one of the best Project by Trailhead . There is a exhaustive lot you do but every minute you spend on this is worth a dime.

You create a Git Repository , a master branch, two feature branches and then merge them to master and finally deploy this master to a Trailhead playground. While you do this, you also create couple of scratch orgs to modify files. You will really see how everything connects. Go for it mate….experience the SFDX.

While deploying to one of the org, you will face an issue with admin profile. Just delete the admin profile from source code & move on…

Creating a GitHub Repository

Feature Branching

Basics of working with unmanaged package – Big Picture!

May 21, 2020

Think of a package as a stand-alone application, or a collection of metadata items that you can release on its own without having to release all packages. Packaging metadata makes your deployment process succinct and easier to manage. Packages are organized in a variety of ways, such as by app, by shared library, or by feature. However you organize your metadata packages, it’s important to have the sfdx-project.json file set up correctly so you can create and release new versions of your package.

sfdx force:source:push ; sfdx force:source:pull

May 15, 2020

Managing Scratch Orgs…

May 14, 2020

‘npm’ is not recognized as an internal or external command

$ sfdx force:project:create -n geolocation
ERROR running force:project:create:  Command failed with exit code 1: npm root -g --prefix C:\Users\XXXX\documents\SFDX\my_sfdx_project\.yo-repository --loglevel error
'npm' is not recognized as an internal or external command,
operable program or batch file.

if you get above error. Just install

Creating my First Scratch Org….

May 12, 2020
sfdx force:org:create -s -f config/project-scratch-def.json -a dreamforce-org

Pushed my local source code to scratch org

Assigned Permission Set

sfdx force:user:permset:assign -n Dreamhouse

Imported Test Data

sfdx force:data:tree:import --plan data/sample-data-plan.json
sfdx force:org:open

Build Apps Together with Package Development

May 11, 2020

Tools which helps in Package Development Model

Source – Driven Development


Scratch Orgs