These docs are for v2.1. Click to read the latest docs for v5.0.

Workflow / Content Staging

Simple Workflow / Content Staging in available on multi items templates

  1. publish status : draft / published

  2. start publish date / end publish date

The idea is : when the item is not published, you can only see it when you are in edit mode.

To make it works,you need only to have the fields whith specific names present in shema.json

Example of schema and options :

"publishstartdate": {
  "title": "Publish Start Date",
  "required": true,
  "default": "today"
},
"publishenddate": {
  "title": "Publish End Date",
  "required": true,
  "default": "2099-12-31"
},
"publishstatus": {
  "title": "Status",
  "enum": [ "draft", "published" ],
  "required": true,
  "default": "draft"
}
"publishstartdate": {
  "type": "date",
  "picker": {
    "format": "DD/MM/YYYY",
    "minDate": "2000-01-01",
    "maxDate": "2099-12-31",
    "locale": "nl"
  }
},
"publishenddate": {
  "type": "date",
  "picker": {
    "format": "DD/MM/YYYY",
    "minDate": "2000-01-01",
    "maxDate": "2099-12-31",
    "locale": "nl"
  }
}

A full example can be found in the Articles template