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.
-
From Setup, enter
Packagesin the Quick Find box, then select Packages. -
In the Packages section, in the Package Name column, select your managed package.
-
On the Components tab, click Add.
-
From the Component Type dropdown, select Feature Parameter Boolean, Feature Parameter Date, or Feature Parameter Integer.
-
Select your feature parameter, and then click Add to Package.