Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

Excerpt
Include Page
TERMS:Checkbox Field
TERMS:Checkbox Field

Checkbox Overview

Icon

Image Removed
Image Added

Checkbox Off (Disabled)

Image Removed
Image Added

Checkbox On (Enabled)

Image Removed
Image Added

Checkbox read-only display

Image Removed
Image Added

Behavior

Image Removed
Image 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

searches

Include PageIL:_Query for CheckboxIL:_Query for Checkbox

Advanced search for the field value

Include PageIL:_Query for Checkbox ValueIL:_Query for Checkbox Value
Filter by label (Content by label)
cqllabel = "advanced-search" and label = "checkbox" and space = "SOL"

Use in Display Pattern

Include PageIL:_DP CheckboxIL:_DP Checkbox
Filter by label (Content by label)
cqllabel = "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

Include Page
IL
TERMS:
_
Field ID
IL
TERMS:
_
Field ID

Sortable

Include Page
IL
TERMS:
_Field
Sortable
IL
TERMS:
_Field IL:_FieldIncludeInFilters
Sortable

Include in filters

Include Page
IL:_FieldIncludeInFilters
IL:_Field Search
TERMS: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

Include Page
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

n

N/

a

A