update_form_layout
Modify the form layout of a Kintone app by specifying layout details, including field arrangements, sizes, and types, to customize user interface organization.
Instructions
kintoneアプリのフォームレイアウトを変更します
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app_id | Yes | kintoneアプリのID | |
layout | Yes | フォームのレイアウト情報 | |
revision | No | アプリのリビジョン番号(省略時は-1で最新リビジョンを使用) |
Input Schema (JSON Schema)
{
"properties": {
"app_id": {
"description": "kintoneアプリのID",
"type": "number"
},
"layout": {
"description": "フォームのレイアウト情報",
"items": {
"properties": {
"code": {
"description": "SUBTABLEタイプの場合のサブテーブルコード",
"type": "string"
},
"fields": {
"description": "ROWタイプの場合のフィールド配列",
"items": {
"properties": {
"code": {
"description": "FIELDタイプの場合のフィールドコード",
"type": "string"
},
"elementId": {
"description": "要素のID",
"type": "string"
},
"size": {
"description": "フィールドのサイズ",
"properties": {
"height": {
"description": "高さ(\"200px\"など)",
"type": "string"
},
"innerHeight": {
"description": "内部高さ(\"200px\"など)",
"type": "string"
},
"width": {
"description": "幅(\"100%\"など)",
"type": "string"
}
},
"type": "object"
},
"type": {
"description": "フィールド要素のタイプ",
"enum": [
"LABEL",
"SPACER",
"HR",
"REFERENCE_TABLE",
"FIELD"
],
"type": "string"
},
"value": {
"description": "LABELタイプの場合のラベルテキスト",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"layout": {
"description": "GROUPタイプの場合の内部レイアウト",
"type": "array"
},
"type": {
"description": "レイアウト要素のタイプ",
"enum": [
"ROW",
"SUBTABLE",
"GROUP"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"revision": {
"description": "アプリのリビジョン番号(省略時は-1で最新リビジョンを使用)",
"type": "number"
}
},
"required": [
"app_id",
"layout"
],
"type": "object"
}