Create Feature Parameters in Your Packaging Org
Create a feature parameter in your packaging org, and set its type, default value,
and data flow direction.
- From Setup, enter Package Manager in the Quick Find box, then select Package Manager.
- In the Packages section, in the Package Name column, select your managed package.
-
On the Feature Parameters tab, click New Boolean,
New Integer, or New Date.
If the Feature Parameters tab isn’t visible, log a case with Salesforce Partner Support.
- Give your feature parameter a developer name that meets the standard criteria for developer names. The name must be unique in your org. It can contain only alphanumeric characters and underscores, and must begin with a letter. It can’t include spaces, end with an underscore, nor contain two consecutive underscores.
- Give the feature parameter a label.
- Set a default value for the feature parameter. If you’re creating a Feature Parameter Boolean, you see only a checkbox for Default Value. If you want your default value to be true, select this checkbox. Integer values can’t exceed nine digits.
- Set a data flow direction. To use this feature parameter to control behavior in your subscriber’s org, select LMO to Subscriber. To collect activation metrics from your subscriber, select Subscriber to LMO. Note: After the feature parameter is included in a promoted and released package version, the data flow direction can't be changed.
- Click Save.