I am trying to develop a second generation package with a scratch org, I need to add feature based limit parameters, however since scratch org in second gen package don't have the actual package, I can't access it's UI, here is what it look like in my package UI:

enter image description here

And here is where I am suppose to add it:

enter image description here

How can I add it without the UI? Is it possible to define it somewhere in the SFDX code?

1 Answer 1


You have to create them in your metadata.

FeatureParameterBoolean, FeatureParameterDate, and FeatureParameterInteger are the relevant file types, which you can include just like you would any other type of metadata that's supported. You can also view the Metadata Coverage Report for more information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .