apex_add_collapsible_region
Add a collapsible region to an Oracle APEX page to organize content. Specify page ID and region title; optionally set initial collapsed state, content HTML or SQL, and display order.
Instructions
Add a collapsible/expandable region with toggle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Target page ID. | |
| sequence | No | Display order on page. | |
| collapsed | No | Start collapsed (default False = expanded). | |
| custom_css | No | ||
| content_sql | No | SQL returning VARCHAR2 content to show inside (optional, overrides content_html). Example: "SELECT DS_OBSERVACOES FROM T WHERE ID=1" | |
| region_name | Yes | Section title (shown in the clickable header). | |
| content_html | No | Static HTML content to show inside (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |