apex_add_button
Add a button to an Oracle APEX page region, with configurable action, label, icon, position, and visibility condition.
Instructions
Add a button to a region (CREATE, SAVE, DELETE, CANCEL, or custom).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hot | No | Mark as primary action button (filled style). Use for Save/Submit. | |
| url | No | Redirect URL for action="redirect" (e.g., "f?p=&APP_ID.:10:&SESSION."). | |
| icon | No | Font APEX icon class (e.g., "fa-save", "fa-trash-o"). | |
| label | Yes | Button label text shown to user. | |
| action | No | Button action: - "submit": Submit the page (default) — triggers page processing - "redirect": Navigate to a URL (use url param) - "da": Defined by Dynamic Action (no built-in action) | submit |
| page_id | Yes | Page ID. | |
| position | No | Button position relative to region: - "BELOW_BOX": Below the region content (default) - "ABOVE_BOX": Above the region content - "RIGHT_OF_TITLE": In the region title bar | BELOW_BOX |
| sequence | No | Display order. | |
| button_name | Yes | Internal button name (e.g., SAVE, CANCEL, DELETE). | |
| region_name | Yes | Parent region name. | |
| condition_expr | No | Item name or expression for condition. | |
| condition_type | No | Condition to show/hide button: - "": Always shown (default) - "ITEM_IS_NOT_NULL": Show when item is not null - "ITEM_IS_NULL": Show when item is null |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |