Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Add Feature Parameters to Your Managed Package

After you’ve created some feature parameters, you can add them to a managed package as components and reference them in your code. Feature parameters aren’t available in unmanaged packages.

A package can include up to 200 feature parameters.

Complete these steps in your packaging org.

  1. From Setup, enter Packages in the Quick Find box, then select Packages.
  2. In the Packages section, in the Package Name column, select your managed package.
  3. On the Components tab, click Add.
  4. From the Component Type dropdown, select Feature Parameter Boolean, Feature Parameter Date, or Feature Parameter Integer.
  5. Select your feature parameter, and then click Add to Package.