Versions Compared

Key

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

...

Picturepark Setup Example

Layer: Corporate Information (ID: CorporateInformation)

Field: Embargo Date (ID: embargoDate)

Fieldpath

corporateInformation.embargoDate

Advanced search for field

Filter by label (Content by label)
showLabelsfalse
excerptTypesimple
cqllabel = "advanced-search" and label = "field" and space = "SOL"

Advanced search for the field value

Filter by label (Content by label)
excerptType
showLabelsfalsesimple
cqllabel = "advanced-search" and label = "date" and space = "SOL"

Use in Display Pattern

Filter by label (Content by label)
showLabelsfalseexcerptTypesimple
cqllabel in ( "date" , "date-time" ) and label = "display-pattern" and space = "SOL"

Returned field value

returns date as: 2019-12-19T01:02:02.000Z84

...

Name

Include Page
TERMS:Name
TERMS:Name

ID

Include Page
TERMS:Field ID
TERMS:Field ID

Checkbox "Date and time."

Enabled: user can input date and time
Disabled: user can only input date

Once set and saved, this cannot be changed!

Set current date/time when creating Items

This will set the current date or date-time when Content Items or List Items which such a field are created. This will also add the current date or date-time to Content Items when a Layer with such a field is added. 

Format

The default format is DD-MMM-YYYY HH:mm:ss.
The format preview is: 27-Dec-2019 22:37:34

D stands for the day, M for the month, Y for the year. H stands for the hour, m for the minute, and s for the second. The number of those characters decides if, e.g., the day shows as 1, Mon, Monday. Sometimes two characters are possible, sometimes not. You can check the underlying JSON Schema definition, or you can play around with the preview directly displayed in the Content Platform: 

field-type_datetime-format-test.mp4

The format setting supports the JSON Schema Date Pattern, e.g., MM/DD/YYYY or DD-MM-YYYY hh:mm:ss. 

Sortable

Include Page
TERMS:Sortable
TERMS:Sortable

Sort items based on the date entered to find the newest or oldest.

Include in filters

Include Page
TERMS:Include In Filtersfilters
TERMS:Include In Filtersfilters

Adding Dates or DateTime as a filter would show each single data entry. Therefore dates should be aggregated into periods (ranges), e.g., this week, this month, this year.

Include in search

Include Page
TERMS:Include in Searchsearch
TERMS:Include in Searchsearch

The simple search in the content browser cannot find dates. In such a case, we recommend adding a channel filter.

Boost value

n/a

...