Application properties
Fields of an application property, the platform properties that are not created by default, and the script methods that read a property.
An application property holds a configurable value that switches or tunes behaviour without a code change. Use this page to look up the fields of a property record, the platform properties you create yourself, and how scripts read a value.
Properties are listed under Application → Application → Application properties. To change one, see Set an application property.
Application property fields
| Name | Type | Description | Example |
|---|---|---|---|
| Application properties key | String | The name scripts and the platform use to read the property. It must be unique. | incident.auto_closure.enabled |
| Property type | String | The type of value: byte, locale, timezone, string, boolean, integer or long. | boolean |
| Client side accessible | Boolean | Whether client-side scripts can read the property. | false |
| Roles | Multiple reference to Role | The roles that can update the value. Blank means administrator only. The roles grant the value only, not the other fields. |
itsm_administrator |
| Application properties value | String | The value returned when the property is read. | true |
| Organization | Reference to Organization | The organisation the property is for. Keep it as global. | global |
| Application | Reference to Application | The application the property belongs to. | itsm |
| Description | String | What the property does. It has no effect on behaviour. |
Platform properties not created by default
The platform reads these keys, but no record exists until you create one. Security properties are listed in Security application properties.
| Name | Type | Description | Example |
|---|---|---|---|
instance_override.instance_title_prefix |
String | Text added before the browser tab title on this instance. Blank by default. | [DEV] |
instance_override.instance_header_text |
String | A label shown in the header, to tell instances apart. | staging |
instance_override.header_background_color |
String | The header background colour on this instance, in hexadecimal. | #FF0000 |
For the header label and colour, see Label non-production instances.
Currency properties
| Name | Type | Description | Example |
|---|---|---|---|
system.currency |
String | The default currency, as a three-letter ISO 4217 code. Default USD. |
EUR |
system.currency.display.enforce.symbol |
Boolean | If false, money fields show the currency symbol by the Unicode CLDR rules for the user’s locale. If true, they always show the default currency’s symbol. Default false. |
true |
Reading a property in a script
Server-side scripts can read any property. Client-side scripts can read a property only if Client side accessible is selected.
| Name | Type | Description | Example |
|---|---|---|---|
ApplicationPropertyManager.getProperty(name) |
Server | Returns the value as a string. | ApplicationPropertyManager.getProperty("system.timezone") |
User.getProperty(name, default) |
Client | Returns the value as a string. Without a default, returns undefined if the property does not exist. | User.getProperty("system.locale", "en_US") |
User.getBooleanProperty(name, default) |
Client | Returns the value as a boolean. Without a default, returns undefined if the property does not exist. | User.getBooleanProperty("system.multilingual", false) |