---
schema_version: "1"
id: c02ff23c40762aff66338f6708b5616b2cd127d874553d0920d582b32e381186
title: Considerations for Packaging Enablement Programs and Dependencies
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/sales-cloud/enablement/guides/enablement-package-considerations.md
canonical_url: https://developer.salesforce.com/docs/sales/enablement/guide/enablement-package-considerations.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 68bfaf415b4cb8385c767b05aa3d97a2e4937bfcd87d45c1c6dd997046418de9
products:
  - Sales Programs and Partner Tracks with Enablement
  - Sales Cloud
---
# Considerations for Packaging Enablement Programs and Dependencies

Before you create a second-generation managed package for Enablement programs, plan your strategy for including Enablement measures and exercise content. Support users who install your package by understanding the components you can upgrade.

## Measures in Packaged Programs

You can include Enablement measures in the same package as the program that contains the outcome or milestones that reference the measures. Or you can package measures separately.

You can package Enablement measures that have a status of Draft or Published (Active).

Including prebuilt measures in a package results in a package-deployment error. If you plan to package a program that references [prebuilt Enablement measures](https://help.salesforce.com/s/articleView?id=sales.enablement_measures_overview.htm&type=5), first clone the prebuilt measure. Reference the cloned measure in your program, and then package the program and the cloned measure.

## Digital Experiences Content for Packaged Programs

Take program exercise content from the Enablement workspace in the Digital Experiences app and include it in the same package as the program. When you package the workspace and its content, specify a new name and API name for the workspace that you install in the destination org. Next, update the program's references to the packaged content. See [Modify the Retrieved Metadata for Digital Experiences Content](https://developer.salesforce.com/docs/sales/enablement/guide/enablement-package.md#3-modify-the-retrieved-metadata-for-digital-experiences-content).

**tip:** Because only content with a status of Published can be used in a program, all content included in the package is set to Published when the package is installed. This is different behavior from when you package Digital Experiences content outside the Enablement workspace, where you can package and deploy content of other statuses. When you retrieve content to include in a package, take care to retrieve only the content from the Enablement workspace.

## Assessment Surveys for Packaged Programs

If a packaged program contains a Feedback Request exercise that uses peer and manager feedback, include the assessment survey in the same package as the program.

**important:** For packaging assessment surveys, use the Flow metadata type. Use the FlowDefinition metadata type only if you’re deploying programs with change sets.
You can’t package Feedback Request exercises that use Einstein Coach.

Including the default assessment survey, Discovery Call Assessment, in a package results in a package-deployment error. If you plan to package a program that references the default assessment survey, first clone the assessment survey. Reference the cloned assessment survey in your program and then create and deploy a package for the program along with the cloned assessment survey and other dependencies.

## Custom Exercise Types in Packaged Programs

If a packaged program includes custom exercises, make sure that all the associated components are included in the package. See [Retrieve Metadata for Custom Exercise Types](https://developer.salesforce.com/docs/sales/enablement/guide/enablement-package.md#retrieve-metadata-for-custom-exercise-types).

## Upgrading Packaged Programs and Dependencies

In a new version of the package, you can upgrade program dependencies, including measures, Digital Experiences, and custom exercise types. But programs are subscriber-controlled, so if users have already installed a program from a package, they can’t receive updates to the program by installing a new package version.

Instead, we recommend that you clone a program that you previously packaged and create a version of the package that includes the cloned program.

If you included a custom exercise type in a previous version of a packaged program and then you remove the custom exercise in a new version of the package, package creation fails. To continue, submit a Salesforce Customer Support case and request permission to create a package by deleting managed components.

**See Also**

- _Salesforce Help_: [Building Enablement Measures](https://help.salesforce.com/s/articleView?id=sales.enablement_measures_create_parent.htm&type=5)
- _Salesforce Help_: [Managing Digital Experiences Content for Exercises in Enablement Programs](https://help.salesforce.com/s/articleView?id=sales.enablement_content.htm&type=5)
- _Salesforce Help_: [Managing Assessment Surveys for Feedback Request Exercises](https://help.salesforce.com/s/articleView?id=sales.enablement_feedback_request_parent.htm&type=5)
