Add Form Fields
kintone-add-form-fieldsAdd new fields to a kintone app in the preview environment. Configure field types, codes, labels, and options to customize your app form.
Instructions
Add new fields to a kintone app (preview environment only). Requires App Management permissions. Field codes must be unique, max 128 chars, cannot start with numbers, and only '_' symbol allowed. For selection fields (DROP_DOWN/RADIO_BUTTON/CHECK_BOX/MULTI_SELECT), option keys must exactly match their label values. Options require 'label' and 'index' properties. For lookup fields, use appropriate field type (NUMBER for RECORD_NUMBER, SINGLE_LINE_TEXT for text fields). Use kintone-get-form-fields first to check existing fields. Changes require kintone-deploy-app to apply to live app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The ID of the app to add fields to (numeric value as string) | |
| properties | Yes | Object containing field configurations to add | |
| revision | No | Expected app configuration revision number. If the specified revision number does not match the current app's revision, an error will occur and the update will not be performed. If not specified or set to '-1', the revision number will not be checked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | Updated app configuration revision number |