Update Form Layout
kintone-update-form-layoutUpdate form layout settings in a kintone app's preview environment. Arrange fields, subtables, and groups using field codes. Changes require deployment to apply.
Instructions
Update form layout settings in a kintone app (preview environment only). Use kintone-get-form-fields and kintone-get-form-layout first to understand current structure. Field codes are case-sensitive and must match exactly. For SUBTABLE fields, use nested structure: {type: 'SUBTABLE', code: 'table_code', fields: [{type: 'field_type', code: 'field_code'}, ...]}. Required when adding new fields to ensure proper positioning. Changes require kintone-deploy-app to apply to live app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The ID of the app to update form layout for (numeric value as string) | |
| layout | Yes | Array of layout elements (rows, subtables, groups) | |
| 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 |