Assign the
Duplicates Handler
permission set to the default user:
sf org assign permset --name Duplicates_Handler
Open the scratch org:
sf org open
Installing the App using a Developer Edition Org or a Trailhead Playground
Follow this set of instructions if you want to deploy the app to a more permanent environment than a Scratch org. This includes non source-tracked orgs such as a
free Developer Edition Org
or a
Trailhead Playground
.
Make sure to start from a brand-new environment to avoid conflicts with previous work you may have done.
Clone this repository:
git clone https://github.com/dschach/duplicatehandling
cd duplicatehandling
Authorize your Trailhead Playground or Developer org and provide it with an alias (
mydevorg
in the command below):
sf org login web --set-default-dev-hub --alias mydevorg
Run this command in a terminal to deploy the app.
sf project deploy start --source-dir force-app
Assign the
Duplicates_Handler
permission set to the default user.