You need to sign in to do that
Don't have an account?
Trent Childers 17
Install health cloud in a scratch org
Hello everyone!
My organization is attempting to transition our code base to SFDX. One of the things I wanted to implement was an automated process that would set up a scratch org. However, I'm not sure that's possible. I am following the instructions laid out in this doc:
https://developer.salesforce.com/docs/atlas.en-us.health_cloud.meta/health_cloud/admin_install_package.htm
So, first question, I have an install link to the health cloud package, is there any way to install that package from the command line using force:package:intall? I have tried to pull the package into my local environment and then push that to a scratch org, but I get errors (field tracking isn't enbled for some objects). I'm trying to find a way to eradicate manual steps in scratch org setup.
Secondly, there is a configuration step that requires going to Account Settings in Setup and enabling 'Allow Users to relate a contact to multiple accounts'. Is it possible to somehow enable this in the SFDX projects configuration file?
Thanks so much!
My organization is attempting to transition our code base to SFDX. One of the things I wanted to implement was an automated process that would set up a scratch org. However, I'm not sure that's possible. I am following the instructions laid out in this doc:
https://developer.salesforce.com/docs/atlas.en-us.health_cloud.meta/health_cloud/admin_install_package.htm
So, first question, I have an install link to the health cloud package, is there any way to install that package from the command line using force:package:intall? I have tried to pull the package into my local environment and then push that to a scratch org, but I get errors (field tracking isn't enbled for some objects). I'm trying to find a way to eradicate manual steps in scratch org setup.
Secondly, there is a configuration step that requires going to Account Settings in Setup and enabling 'Allow Users to relate a contact to multiple accounts'. Is it possible to somehow enable this in the SFDX projects configuration file?
Thanks so much!
So to answer your questions:
1. to automate the process, I would suggest a bash/shell script that goes through the sfdx commands- spinning up a scratch org with the necessary HC configuration, installing the packages and doing a push of metadata configuration from post deploy steps/other customizations
2. Yes! you can use this install command:
sfdx force:package:install --package 04t1C000000AoPO
The 04# that appears is the package version ID, which should appear on the url of the pckg that you install
3. Yes! your scratch org config file should look like the image attached.
Hope this helps - let me know if you have any questions
Thanks - Randy
This will list out all of your packages and the current version id.