True/False field mapping
Map WordPress ACF true/false fields to boolean fields in Optimizely CMP for seamless integration and data consistency.
Optimizely Content Marketing Platform (CMP) supports mapping the ACF True/False field to the structured content Boolean type field.
JSON example
{
"core": {
"key": "acf_true_false_field",
"name": "ACF True/False Field",
"is_list": false,
"is_required": false,
"need_internationalization": false,
"min_list_length": 1,
"max_list_length": -1,
"field_type": "boolean",
"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
},
"base_type": "boolean",
"default_values": null
}Updated 1 day ago