Skip to content

Missing Data Category Group

Detection

  • RegExp: Error (.*) In field: DeveloperName - no DataCategoryGroup named (.*) found

Examples

  • Error Knowledge_Settings In field: DeveloperName - no DataCategoryGroup named Products found

Resolution

{1} uses data category group {2}, which is not in the target org.
- Deploy the DataCategoryGroup {2}: retrieve it from your org with the Metadata Retriever of VS Code, commit it and save your User Story: sfdx-hardis adds it to manifest/package.xml
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Or remove the reference to {2} from {1}

Comments