Traffic Lights Configuration
Check out chapters Get Field Id, Get field configuration context Id, and Create/Update field configuration (options) in order to find out how to use endpoint properly. All endpoints used in the article Singe/Multiple select pickers with create are also used for this custom field, only provided data in the body of Create/Update API is different.
In order to make this request successful, body should follow this scheme and it’s property names:
`{
configurations: [
{
configuration: {
traffic: [
{
id: "red",
description: "...",
},
{
id: "yellow",
description: "...",
},
{
id: "green",
description: "...",
},
]
},
contextId: "<Unique Id>"
}
]
}`
The property description
is used to display tooltip description on field hover and id
must hold values red
, yellow,
and green
, otherwise, it can lead to unexpected behavior of the custom field.
To make this request properly 3 objects must be passed in traffic
array.
, multiple selections available,
Related content
REST API
REST API
Read with this
App Limitations
App Limitations
Read with this
Singe/Multiple select pickers with create
Singe/Multiple select pickers with create
Read with this
Integrate CFS custom fields
Integrate CFS custom fields
Read with this
Comment Fields
Comment Fields
Read with this
Changelog
Changelog
Read with this