...
...
...
...
...
...
...
...
...
Excerpt |
---|
Include Page |
---|
| TERMS:Checkbox Field |
---|
| TERMS:Checkbox Field |
---|
|
|
Checkbox Overview
Image RemovedImage Added |
Checkbox Off (Disabled) |
Image RemovedImage Added |
Checkbox On (Enabled) |
Image RemovedImage Added |
Checkbox read-only display |
Image RemovedImage Added |
Behavior |
Image RemovedImage Added |
Examples | "Release Signed" to denote whether or not a release has been signed |
or not for the photo in question. |
Usage considerations | The search does not search for the label, but only the value which is true/false for a checkbox.
The same applies to filters, where checkbox values are shown as true/false. Here the filter name should mirror the checkbox label to give some indication of what true/false refers to.
An issue of checkboxes is the missing NULL state. When searching for checkbox = false, this will deliver all content items which have the checkbox set to false or have not been set at all. If the checkbox is "legally approved" then false could mean not approved or not yet checked for approval, a combination of checkboxes (checkbox1: legal approval done, checkbox2: legally approved) brings clarity. |
Checkbox Value Handling
Picturepark Setup Example | Layer: Corporate Information (ID: CorporateInformation)
Field: Legally approved (FieldId: legallyApproved) |
Fieldpath | corporateInformation.legallyApproved |
Advanced |
search for field Include Page |
---|
IL:_Query for Checkbox | IL:_Query for Checkbox | Advanced search for the field value | Include Page |
---|
IL:_Query for Checkbox Value | IL:_Query for Checkbox Value | Filter by label (Content by label) |
---|
cql | label = "advanced-search" and label = "checkbox" and space = "SOL" |
---|
|
|
Use in Display Pattern |
Include Page |
---|
IL:_DP Checkbox | IL:_DP Checkbox Filter by label (Content by label) |
---|
cql | label = "display-pattern" and label = "checkbox" and space = "SOL" |
---|
|
|
Returned field value | True / False
Please note Picturepark does not have a NULL state for checkboxes, which would indicate that the checkbox was never updated. Please consider displaying information based on the checkbox value instead of just showing the value e.g. if true, show "it works". |
Checkbox Field Settings
Name | The label of the checkbox, which basically determines whether the checkbox must be switched on or off.
Label: Approved, requires checkbox to be enabled for approval Label: Not approved, requires checkbox to be disabled for approval |
ID | |
IL_IL_IL_Field IL_Field IL:_FieldIncludeInFiltersIL:_FieldIncludeInFilters | IL:_Field SearchTERMS:Include In filters | | TERMS:Include In filters |
---|
|
Will always have included in the search and filters set to true per default on creation. You can change this if you don't want to use the checkbox in channel filters. |
Include in search | |
IL:_Field Search | TERMS:Include in search | | TERMS:Include in search |
---|
|
The simple search in the content browser cannot be used to find true or false values. In such a case, we recommend using an advanced search or adding a channel filter. |
Boost value |
na