Search Engine: Elastic

Article ID: 118027, created on Oct 18, 2013, last review on May 7, 2014

  • Applies to:
  • APS 1.x


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.

717db81efe94e616312b74fb03a5d474 978c327986a55270842e3de502d69383

Email subscription for changes to this article
Save as PDF