5

I was wondering if anyone was able to use SFDX with Financial Services Cloud (FSC)? I am currently working on a FSC implementation, but since FSC is like a managed package, the scratch org doesn't have those objects by default. Or is Force.com Migration Tool the only option for now? Any info or links will be appreciated.

Thanks!

4

The easiest way would be to use the ADK that salesforce ISV team provides for fsc.You can access the open source project here

The best part about ADK is it also has templates that gives you test data for your org.

The other alternative is since FSC publishes package here, you can use the sfdx force:package:install --package=<packageIdofFSC> command with the packageIds .

  • 1
    You can also install it by pushing the xml metadata file (force-app -> main -> default -> installedPackages -> FinServ.installedPackage-meta.xml) upon creating a scratch org with the "FinancialServicesUser" feature. – Boris Bachovski Nov 19 '19 at 22:19
1

Yes, you can install FSC in a Scratch Org, just as you would in production or a Sandbox, either by the URL or with force:package:install (also this document) from the Salesforce DX CLI. If using unlocked packages, you can also specify dependencies on FSC in your unlocked package to allow the package versions to be created.

1

Finally In winter 20 is launched as a feature. https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm

1

To install the FSC Managed Package into a Scratch Org (see other answers or the "Product Specific Terms section of your order form" for install instructions), you will need to enable the scratch org features ContactsToMultipleAccounts (you will get an error explaining that it is missing if you don't) and FinancialServicesUser:x, where x is a number between 1 and 10 (you will get errors about a missing Claim object if you don't). FSC supports Person Accounts; if you wish you use them you should add the PersonAccounts feature as well. Here's a basic project-scratch-def.json:

{
  "orgName": "FSC Scratch Org",
  "edition": "Enterprise",
  "features": ["PersonAccounts","ContactsToMultipleAccounts", "FinancialServicesUser:5"]
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.