Skip to main content

Some tips for anyone else trying to use Bundles: 

1. When you create a scratch org to install the bundle in, remember to add the "PackageBundles" feature to your project-scratch-def.json. You might miss it if you skim the documentation like me. If you do not add it you will get the "Error (NOT_FOUND): The requested resource does not exist" error when trying to install the bundle. 

 

2. The documentation regarding the sf package bundle install command is incorrect. You need to use the --dev-hub-org flag and you need to provide the Dev Hub Org Id. You cannot use the regular -v flag and Org Alias for this command.  

 

3. Installing a Bundle with package versions protected by package keys is not supported. The install will fail with an unknown error. 

 

4. When installing the Bundle, you cannot track it in the Deployment Status page in setup, only through sf CLI commands. 

6 comentários
  1. 19 de nov. de 2025, 15:15

    1. There may be something else that enables it package bundles, but I did NOT include PackageBundles feature in my scratch-def file.  The features I did include are:

    "features": [

    "BillingAdvanced",

    "BusinessRulesEngine",

    "Communities",

    "ContactsToMultipleAccounts",

    "ContextService",

    "CoreCpq",

    "CoreCPQ",

    "CPQ",

    "CustomerCommunityPlus",

    "CustomerCommunityPlusLogin",

    "DebugApex",

    "DigitalInsurance:10",

    "DocGen",

    "EnableSetPasswordInApi",

    "FinancialServicesCommunityUser:10",

    "FinancialServicesInsuranceUser",

    "FinancialServicesUser:10",

    "InsuranceCalculationUser",

    "InsuranceClaimMgmt:10",

    "InsurancePolicyAdmin:10",

    "MaxApexCodeSize:10",

    "MultiCurrency",

    "OmniStudioDesigner",

    "OmniStudioRuntime",

    "OrderManagement",

    "OrderSaveBehaviorBoth",

    "OrderSaveLogicEnabled",

    "PartnerCommunity",

    "PersonAccounts",

    "PlatformCache",

    "PlatformEncryption",

    "ProductCatalogManagementPCAddOn",

    "RateManagement",

    "RecordTypes",

    "SalesforceConfiguratorEngine",

    "SalesforcePricing",

    "SessionIdInLogEnabled",

    "Sites",

    "StreamingAPI",

    "UsageManagement"

    ],