Enforce valid query string choice [New in Security Center 7.0]
Use a system property to ensure that any choice field value, when passed via a URL query string, is a valid active choice when a record is created.
When the glide.ui.query_string.enforce_valid_choice_on_create system property is set to true, the platform validates that any choice field value passed via a URL query string (for example, from a list filter) is a valid active choice when the record is created.
If invalid, the value is ignored and the field falls back to its default value. When the property is false, validation is inactive, and the system accepts any value, even invalid or inactive ones. This acceptance can potentially result in incorrect or unexpected data being stored on records.
Ensure glide.ui.query_string.enforce_valid_choice_on_create exists in the System Properties [sys_properties] table and is set to true. If the property doesn’t exist in the table, the fallback value is false.
More information
| Attribute | Description |
|---|---|
| Configuration name | glide.ui.query_string.enforce_valid_choice_on_create |
| Configuration type | System Properties (/sys_properties_list.do) |
| Data type | Boolean |
| Recommended value | false |
| Default value | false |
| Fallback value | true |
| Category | Architecture, design, and threat modeling |
| Security risk |
|
| Functional impact |
Existing instances and workflows may rely on new records being created based on a filter that contains an invalid or inactive choice. Use the following process to observe this behavior:
When the property is set to false (default), the string field has the value set to Test2. |
| Dependencies and prerequisites | None |
To learn more about adding or creating a system property, see Add a system property.