A dynamic List of Values (LOV) in APEX populates options based on a query source. The supported types include:
Function Returning SQL Query: A PL/SQL function that returns a SQL query string (e.g., RETURN 'SELECT ename, empno FROM emp';). This offers flexibility for dynamic conditions or complex logic.
SQL Query: A direct SQL statement (e.g., SELECT ename, empno FROM emp) executedat runtime to fetch LOV values. It’s the simplest and most common approach.
Procedure: Procedures execute logic but don’t return query results in the format required for an LOV (they don’t produce a result set directly).
[Reference:Oracle APEX 23.2 Documentation - "Managing Lists of Values" under Shared Components., ]
Question 2
Which two statements are true about creating and managing an APEX Workspace?
Options:
A.
During workspace creation, you can associate the workspace with an existing database schema.
B.
New schemas cannot be created during workspace creation.
C.
A workspace can be associated with only one schema.
D.
You can create only two workspaces in an APEX Service (APEX Application Development) instance.
Answer:
A, B
Explanation:
APEX Workspaces define development environments tied to database schemas:
A. During workspace creation, you can associate the workspace with an existing database schema: In the Workspace creation wizard (via Instance Administration), you select an existing schema (e.g., "HR") to link, enabling access to its objects. This is a standard step, ensuring immediate usability.
B. New schemas cannot be created during workspace creation: APEX doesn’t provide a UI to create schemas here; schemas must pre-exist in the database, created via SQL (e.g., CREATE USER).
C. A workspace can be associated with only one schema: False; a workspace can associate with multiple schemas post-creation via "Manage Workspace to Schema Assignments."
C. Process: A Process plugin executes custom server-side logic (e.g., PL/SQL) during page processing or AJAX calls. Example: A plugin to sync data with an external API after form submission. It’s defined with execution points and parameters.
D. Region: A Region plugin creates custom UI areas (e.g., a dynamic chart or carousel). Example: A plugin rendering a custom dashboard. It supports attributes, templates, and refresh events.
A. Validation: While validations are customizable, they’re not a plugin type; they’re declarative or PL/SQL-based within APEX.