You need to sign in to do that
Don't have an account?
gtuerk_greensaas
SalesforceDX - Enabling Path Settings in Unlocked Package
I noticed something strange while building a small unlocked package that included a Lightning Record Page with Paths. I enabled Paths within the Path Settings and set up a new Path for a Custom object I created. I pulled down the source, create an unlocked package and version and installed that package version in a new scratch org. The Lightning Record Page came over just fine, as did the Path itself, but when I looked at the object, the path wasn't there. I went into Setup and looked at the Path Settings page and the setting was set to disabled. When I reenabled this in the destination (target) scratch org, I was able to see the path and record page that included it worked just fine. Is there a problem with carrying 'Path settings' forward in Unlocked Packages?
#salesforcedx #package2 #pathsettings
#salesforcedx #package2 #pathsettings
project-scratch-def.json.
{
"orgName": "Acme",
"country": "US",
"edition": "Enterprise",
"hasSampleData": "true",
"features": ["MultiCurrency", "AuthorApex"],
"orgPreferences": {
"enabled": ["S1DesktopEnabled", "ChatterEnabled", "PathAssistantsEnabled"],
"disabled": ["IsNameSuffixEnabled"]
}
}
https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_sfdx_scratch_orgs_settings.htm