DefaultValue on specification is accepted for CheckBox, Combo or Radio field types via API
Catalog
•
ID: 1313013
Backlog
Published on10/24/2025
•
Last updated on10/24/2025
1 min read
Summary
Default value (DefaultValue) on specification is accepted for all specification types, except Checkbox, Combo, or Radio when creating/editing a specification through Admin, but it is accepted when creating a specification via API.
Simulation
- Execute the API route Create specification with the field
DefaultValuefilled and the fieldFieldTypeIdfilled with the values5(Combo),6(Radio),7(Checkbox). - The response body will show the new specification payload, with the
DefaultValuefilled.
Workaround
As it is not possible to edit the DefaultValue field via API because the [KI] DefaultValue property doesn't update on specification API, execute the steps hereafter to change the DefaultValue field value:
- On Admin, edit the specification by changing the field type to
1(Text), leaving theDefaultValuefield empty, and save the changes. - Then, edit the specification again by changing back the previous field type, and save it.