Skip to content

Samples application illustrating the Apex Enterprise Patterns library with the extensions pack

License

Notifications You must be signed in to change notification settings

wimvelzeboer/fflib-apex-extensions-samplecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fflib-apex-extensions Sample Code

This repository contains a sample application based on the fflib-apex-extensions package.

Dependencies:
These samples are dependent on the following packages:

Documentation

Do have a look at the Wiki pages for a full overview of all the features in fflib-apex-extensions, or have a look at the
Method Reference documentation with explanations for all the methods.

Installation

Use the following installation instructions for downloading the examples and installing them into a Scratch Org.

Before you start you need to have the SFDX CLI installed which is authorised to a DevHub envirionment. Have a look at this Trailhead if you need assistance for doing this.

  1. Download a copy of this repository
git clone https://github.com/wimvelzeboer/fflib-apex-extensions-samplecode.git
  1. Create local project configuration
cd  fflib-apex-extensions-samplecode
cp ./dev-tools/templates/local-config-template.sh.ejs ./dev-tools/lib/local-config.sh
  1. Edit the local project configurion file

Edit the file ./dev-tools/lib/local-config.sh in your favorite TEXT editor. Find the following settings and set it to the desired value

Find Setting Example Notes
DEV_HUB_ALIAS="<%%-userAnswers.devHubAlias%>" DEV_HUB_ALIAS="MyDevHub" Set this to the Alias of DevHub you authorised in your SFDX CLI
SCRATCH_ORG_ALIAS="$NAMESPACE_PREFIX-SCRATCH" SCRATCH_ORG_ALIAS="apex-ext-samples" The Scratch Org alias to be created
  1. Execute the rebuild-scratch-org script

The following command will execute the process to (re-)create a Scratch Org, install the dependencies and deploy the code examples. After execution, check the listed configuration values and enter "YES" to confirm.

./dev-tools/rebuild-scratch-org

Have fun looking at the code and learning the patterns!

About

Samples application illustrating the Apex Enterprise Patterns library with the extensions pack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published