πŸ” Ultimate Guide to Oracle APEX Metadata Views

πŸ” Ultimate Guide to Oracle APEX Metadata Views

(Complete Developer Reference with Sample Queries)

Oracle APEX stores everything as metadata.

Every page, region, item, process, automation, REST source, workflow, theme β€” all of it lives inside database views.

These views start with:

APEX_*

Understanding them makes you:

  • πŸ”₯ Advanced APEX Developer
  • πŸ”Ž Metadata Auditor
  • πŸ“Š Governance Engineer
  • πŸš€ DevOps Automation Builder

πŸ— 1️⃣ Workspace & Instance Views

These operate at the workspace level.


πŸ”Ή APEX_WORKSPACES

Available Oracle APEX workspaces.

SELECT *
FROM apex_workspaces;

πŸ”Ή APEX_WORKSPACE_APEX_USERS

Workspace users.

SELECT *
FROM apex_workspace_apex_users

πŸ”Ή APEX_WORKSPACE_SESSIONS

Active APEX sessions.

SELECT *
FROM apex_workspace_sessions;

πŸ”Ή APEX_WORKSPACE_ACTIVITY_LOG

Page view activity.

SELECT *
FROM apex_workspace_activity_log
WHERE view_date > SYSDATE - 1;

πŸ“¦ 2️⃣ Application Core Views


πŸ”Ή APEX_APPLICATIONS

Applications in workspace.

SELECT *
FROM apex_applications;

πŸ”Ή APEX_APPLICATION_GROUPS

Application Groups.

SELECT group_name,
       workspace
FROM apex_application_groups;

πŸ”Ή APEX_APPLICATION_SETTINGS

SELECT *
FROM apex_application_settings

πŸ”Ή APEX_APPLICATION_STATIC_FILES

SELECT file_name,
       mime_type
FROM apex_application_static_files
WHERE application_id = :APP_ID;

πŸ” 3️⃣ Authentication & Authorization


πŸ”Ή APEX_APPLICATION_AUTH

SELECT authentication_scheme_name,
       scheme_type
FROM apex_application_auth
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_AUTHORIZATION

SELECT authorization_scheme_name,
       scheme_type
FROM apex_application_authorization
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_ALL_AUTH

SELECT *
FROM apex_application_all_auth;

πŸ“„ 4️⃣ Page Metadata Views


πŸ”Ή APEX_APPLICATION_PAGES

SELECT page_id,
       page_name,
       page_mode
FROM apex_application_pages
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_REGIONS

SELECT *
FROM apex_application_page_regions
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_ITEMS

SELECT *
FROM apex_application_page_items
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_PROC

SELECT page_id,
       process_name,
       process_type
FROM apex_application_page_proc
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_VAL

SELECT page_id,
       validation_name,
       validation_type
FROM apex_application_page_val
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_BRANCHES

SELECT page_id,
       branch_name,
       branch_action
FROM apex_application_page_branches
WHERE application_id = :APP_ID;

⚑ 5️⃣ Dynamic Actions


πŸ”Ή APEX_APPLICATION_PAGE_DA

SELECT page_id,
       dynamic_action_name
FROM apex_application_page_da
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_PAGE_DA_ACTS

SELECT dynamic_action_name,
       action_name
FROM apex_application_page_da_acts
WHERE application_id = :APP_ID;

πŸ“Š 6️⃣ Reports & Interactive Grid


πŸ”Ή APEX_APPLICATION_PAGE_IR

SELECT page_id,
       region_name
FROM apex_application_page_ir
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPL_PAGE_IGS

SELECT page_id,
       region_name
FROM apex_appl_page_igs
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPL_PAGE_IG_COLUMNS

SELECT *
FROM apex_appl_page_ig_columns
WHERE application_id = :APP_ID;

πŸ“‹ 7️⃣ LOVs & Lists


πŸ”Ή APEX_APPLICATION_LOVS

SELECT list_of_values_name,
       lov_type
FROM apex_application_lovs
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_LOV_ENTRIES

SELECT *
FROM apex_application_lov_entries
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_LISTS

SELECT list_name
FROM apex_application_lists
WHERE application_id = :APP_ID;

🎨 8️⃣ Themes & Templates


πŸ”Ή APEX_APPLICATION_THEMES

SELECT theme_id,
       theme_name
FROM apex_application_themes
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPLICATION_TEMPLATES

SELECT template_name,
template_type
FROM apex_application_templates
WHERE application_id = :APP_ID;

πŸ”Œ 9️⃣ REST & Web Sources


πŸ”Ή APEX_APPL_WEB_SRC_MODULES

SELECT *
FROM apex_appl_web_src_modules
WHERE application_id = :APP_ID;

πŸ”Ή APEX_REST_RESOURCE_MODULES

SELECT *
FROM apex_rest_resource_modules;

πŸ€– πŸ”Ÿ AI & RAG Views (Latest APEX Versions)


πŸ”Ή APEX_APPL_AI_CONFIGS

SELECT *
FROM apex_appl_ai_configs
WHERE application_id = :APP_ID;

πŸ”Ή APEX_APPL_AI_CONFIG_RAG_SRCS

SELECT *
FROM apex_appl_ai_config_rag_srcs
WHERE application_id = :APP_ID;

πŸ”„ 1️⃣1️⃣ Automations


πŸ”Ή APEX_APPL_AUTOMATIONS

SELECT *
FROM apex_appl_automations
WHERE application_id = :APP_ID;

πŸ”Ή APEX_AUTOMATION_LOG

SELECT *
FROM apex_automation_log;

πŸ” 1️⃣2️⃣ Workflows & Tasks


πŸ”Ή APEX_APPL_WORKFLOWS

SELECT *
FROM apex_appl_workflows
WHERE application_id = :APP_ID;

πŸ”Ή APEX_TASKS

SELECT *
FROM apex_tasks
WHERE application_id = :APP_ID;

πŸ§ͺ 1️⃣3️⃣ Data Generator Views


πŸ”Ή APEX_DG_BLUEPRINTS

SELECT *
FROM apex_dg_blueprints;

πŸ”Ή APEX_DG_BUILTIN_PERSONS

SELECT first_name,
       last_name
FROM apex_dg_builtin_persons
FETCH FIRST 10 ROWS ONLY;

🐞 1️⃣4️⃣ Issue Tracking System


πŸ”Ή APEX_ISSUES

SELECT *
FROM apex_issues;

πŸ”Ή APEX_ISSUE_COMMENTS

SELECT *
FROM apex_issue_comments;

🧠 Pattern to Query Any APEX View

Most views follow this filter structure:

WHERE application_id = :APP_ID

Or

WHERE WORKSPACE_NAME = :WORKSPACE_NAME;

πŸ”Ž How to Explore More APEX Metadata Views

If you want to explore all available Oracle APEX metadata views directly from the UI, follow these steps:

πŸ“ Navigation Path

App Builder => Workspace Utilities => APEX Views

πŸ’‘ Pro Tip (Advanced Developers)

You can also query metadata dictionary directly:

SELECT view_name
FROM all_views
WHERE view_name LIKE 'APEX_%'
ORDER BY view_name;

From there you can:

  • πŸ” Search any APEX_* view
  • πŸ“– Read view descriptions
  • 🧾 See column definitions
  • πŸ—‚ Understand relationships between views
  • 🧠 Discover newly added views in latest APEX versions

πŸš€ Why This Matters

With these metadata views you can:

  • Generate full application documentation
  • Audit security
  • Compare Dev vs Prod
  • Build governance dashboards
  • Detect unused components
  • Analyze database dependencies

🏁 Final Thoughts

Oracle APEX metadata is not just system data β€”

It is a complete development intelligence layer.

If you master these views, you unlock:

βœ” Automation

βœ” Governance

βœ” DevOps

βœ” Security Auditing

βœ” AI-based App Analysis

Happy APEXING!

Love coding? Me too! Let’s keep in touch – subscribe to my website for regular chats on Oracle APEX, PL/SQL,SQL JavaScript, and CSS.

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *