Apslint returns error: 'Default value for mandatory setting SETTING_ID is required'

However, setting is populated by configuration script, and default value is not appropriate.


By convention, in APS 1.2 visible settings are entered by customer, 'hidden' - set in resource type by provider, 'protected' - populated by configuration script. For 'protected' settings default value is not required, for other types - either class or default value is required.


Add protected="true" attribute to setting declaration in APP-META.xml. If setting should not be visible, also add visibility="hidden" attribute.

Internal content