apex_add_hero_banner
Add a hero banner to an Oracle APEX page, including title, subtitle, CTA button, gradient background, and optional KPI stats.
Instructions
Add a hero banner with title, subtitle, CTA button, and gradient background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Up to 4 inline KPI items shown inside the banner. Each dict: {"label": "Total", "sql": "SELECT COUNT(*) FROM T", "suffix": ""} | |
| title | Yes | Main banner title. Supports &APP_USER. substitutions. | |
| page_id | Yes | Target page ID. | |
| bg_color | No | Background color — named ("unimed","blue","teal") or hex ("#00995D"). | unimed |
| sequence | No | Display order on page. | |
| subtitle | No | Secondary text under the title. | |
| button_url | No | URL or f?p= reference for CTA button. | |
| custom_css | No | Additional CSS rules injected into the style block. | |
| title_size | No | CSS font-size for the title (default "1.7rem"). | 1.7rem |
| button_label | No | Optional CTA button label (e.g., "New Record"). | |
| subtitle_size | No | CSS font-size for the subtitle (default "1rem"). | 1rem |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |