apex_generate_modal_form
Create an inline modal popup form for Oracle APEX that returns a region_static_id for opening via JavaScript, replacing the need for a separate page.
Instructions
Create an inline modal popup form (no separate page). Returns region_static_id for JS open.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"region_name": "<region_name>",
"table_name": "<table_name>",
"pk_item_name": "<pk_item_name>"
},
"name": "apex_generate_modal_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Modal title text shown in the dialog header. Defaults to ``region_name``. | |
| page_id | Yes | Page ID where the modal lives. | |
| sequence | No | Display sequence for the region (default 10). | |
| table_name | Yes | Table the modal form targets (used for the Save process). | |
| auth_scheme | No | Optional authorization scheme name. | |
| region_name | Yes | Display name of the modal region. | |
| pk_item_name | Yes | Page item name for the primary key (auto-prefixed with ``P{page_id}_`` if needed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |