Date Time Picker field mapping
Optimizely Content Marketing Platform (CMP) supports mapping the ACF Date Time Picker
field to the structured content Date & Time
type field.
JSON example
{
"core": {
"key": "acf_date_time_picker_field",
"name": "ACF Date Time Picker Field",
"is_list": false,
"is_required": false,
"need_internationalization": false,
"min_list_length": 1,
"max_list_length": -1,
"field_type": "datetime",
"source_id": null,
"source_metadata": "{\"is_custom_post_type_field\": true}", // It is important to identify source_metadata as custom field
"order_index": 0,
"help_text": null,
"editor_metadata": null
},
"min_date": "1900-01-01T00:00:00",
"max_date": "2100-12-31T23:59:59",
"default_values": null
}
Updated 2 days ago