Label non-production instances
Add a header label, a header colour and a browser tab prefix so nobody mistakes a development or test instance for production.
Label every non-production instance so people can tell it apart from production at a glance. Administrators set three optional application properties on the development and test instances only.
Before you begin
- You need the
administratorrole. - Decide the label and colour for each instance, such as
stagingon a red header. - None of these properties exist by default. You create them on each instance.
Steps
-
Go to Application → Application → Application properties and select New.
-
Set Application properties key to
instance_override.instance_header_text, Property type tostringand Application properties value to the label, such asstaging. Save. -
Create a second property with the key
instance_override.header_background_color, typestringand a hexadecimal colour as the value, such as#FF0000. Save. -
Optionally, create a third property with the key
instance_override.instance_title_prefix, typestringand a prefix such as[DEV]. Save. -
Reload the browser to see the changes.
| Property | Effect |
|---|---|
instance_override.instance_header_text |
Shows the text as a label in the header. |
instance_override.header_background_color |
Changes the header background to the colour. |
instance_override.instance_title_prefix |
Adds the text before the title in the browser tab. |
Leave the other fields of each property at their defaults.
Result
The header shows the label on the colour you chose, and browser tabs start with the prefix. Production, where the properties do not exist, looks as before. A clone of production does not bring the labels with it, so set them again on the target after each clone.