Skip to content

Standard application not found

Detection

Examples

  • Error Sales_User In field: application - no CustomApplication named standard__SalesCloudMobile found

Resolution

{1} gives access to the standard application {2}, which is not available in the target org: its feature or license is not enabled there.
- Enable the feature or license that brings {2} in the target org
- Or, to keep it for the orgs that have it, add a replacement rule that removes it before each deployment to the orgs that refuse it (https://sfdx-hardis.cloudity.com/salesforce-devops-config-replacement-rules/):
  sf hardis:project:replacement:create --agent --layer project --id remove-unknown-standard-app --type xml-remove --files "**/profiles/*.profile-meta.xml" --xml-path "Profile/applicationVisibilities[application={2}]" --include-branches TARGET_BRANCH
- Or remove the <applicationVisibilities> block of {2} from {1}

Comments