Create an Application Settings. Application Settings enable developers to define application level configuration options.
To create an Application Setting:
- Navigate to the Shared Components page:
- On the Workspace home page, click App Builder.
- Select an application.
- On the Application home page, click Shared Components.
The Shared Components page appears.
- Under Application Logic, select Application Settings.
- Click Create Setting.
- On Application Setting:
- Name - Enter a descriptive name for this application setting.
- Value - Enter the default value for this application setting.
- Value Required - Select whether this Application Setting requires a value. Select Yes or No.
- Valid Values - Enter comma separated valid values. If defined, Application Express only accepts valid values when the settings change.
- On Upgrade Keep Value - Select whether the application setting value in the deployed application should be kept, or overwritten with the specified value when the application is upgraded. Selecting Yes to keep the deployed value is useful if the application supports application setting configuration (using the
APEX_APP_SETTING.SET_VALUE
API) to change the application setting value in the deployed application, and where you want to respect those values upon upgrade.
- Comments - Enter comments that describe this setting.
- Click Create Application Setting.
The new Application Setting displays on the Application Settings page.