-
Install Salesforce DX. Enable the Dev Hub in your org or sign up for a Dev Hub trial org and install the Salesforce DX CLI. Follow the instructions in the Salesforce DX Setup Guide or in the App Development with Salesforce DX Trailhead module.
-
Clone the SFDriveWealth_SFDX repository, switch the branch to work on a specific branch (if needed):
git clone https://github.com/jrattanpal/SFDriveWealth_SFDX cd SFDriveWealth_SFDX git checkout DFSession2017
-
Create a scratch org and provide it with an alias (dh):
sfdx force:org:create -s -f config/FSCDW_SFDX-scratch-def.json -a dh
-
Push the app to your scratch org:
sfdx force:source:push
-
Assign the FSC_DW permission set to the default user:
sfdx force:user:permset:assign -n FSC_DW
-
Open the scratch org:
sfdx force:org:open
-
Open "DriveWealth" custom settings and add login information that you received from DriveWealth
-
Open "FSC DW" app
-
Open "Rache Adams" account, "Drive Wealth" tab and start using Drive Wealth components like search, create account, create order or list orders
-
Authenticate org where you want to deploy these components
sfdx force:auth:web:login -a NEW_ALIAS
-
Convert this DX project to regular salesforce metadata which will be saved in mdapioutput folder
cd project mkdir mdapioutput sfdx force:source:convert -d mdapioutput/
-
Deploy converted project to your regular salesforce org (that you authenticated in first step)
sfdx force:mdapi:deploy -d mdapioutput/ -u NEW_ALIAS -w 100
DriveWealth API: http://developer.drivewealth.com/ ETLC_ApexBridge: https://github.com/eltoroit/ETLC_ApexBridge CodeScience: https://github.com/CodeScience/CSUtils/wiki/Using-Security-Coding-Library-(ESAPI)