When you want to set a channel as your homepage, you must use this code as path.

{
  "key": "path",
  "label": "Path",
  "type": "Path",
  "options": {
	   "width": 0.5,
    "empty": true,
    "hidden": false,
    "readonly": true
  }
}

Properties

@:optionalempty:Null<Bool>

This field can be empty.

"empty": true

@:optionalfrom_key:Null<String>

@:optionalhelp:Null<Dynamic>

Adding help or instructional text to a field.

"help": "This field can only contain letters."

@:optionalhidden:Null<Bool>

Hide this field in the interface.

"hidden": true

@:optionalminimal:Null<Bool>

Hide the label of the textfield.

"minimal": true

@:optionaloverview:Null<Bool>

@:optionaloverview_editable:Null<Bool>

@:optionaloverview_filter:Null<Bool>

@:optionaloverview_searchable:Null<Bool>

@:optionalreadonly:Null<Bool>

Field is read only.

"readonly": true

@:optionalrequired:Null<Bool>

This field can't be empty.

"required": true

@:optionalseparator:Null<String>

Replace spaces with a hyphen (-).

"separator": "-"

@:optionalshow_when:Null<EitherType<ShowOptions, Array<ShowOptions>>>

The "value" can be set to "null" of "!null" to check if something is empty.

@:optionalvalue:Null<Any>

@:optionalwidth:Null<Float>

Width percentpoint 0-1.

"width": 0.5"