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.
Which API can be used to send Push Notifications immediately in Oracle APEX?
Options:
A.
APEX_PWA.HAS_PUSH_SUBSCRIPTION
B.
APEX_PWA.PUSH_QUEUE
C.
APEX_PWA.PURGE_QUEUE
Answer:
B
Explanation:
The APEX_PWA package manages Push Notifications:
B. APEX_PWA.PUSH_QUEUE: This procedure forces immediate processing of the Push Notification queue, sending queued messages (added via APEX_PWA.SEND) to subscribed devices without waiting for the default scheduler (e.g., every 5 minutes). Example: APEX_PWA.PUSH_QUEUE; ensures a "Meeting now!" alert goes out instantly.
A. APEX_PWA.HAS_PUSH_SUBSCRIPTION: Checks if a user has an active subscription (returns BOOLEAN), not for sending.
[Reference:Oracle APEX 23.2 Documentation - "APEX_PWA Package" under API Reference., ]
Question 15
Which two statements are true about creating and using dynamic actions?
Options:
A.
After you create a dynamic action, you cannot add more true actions.
B.
If a client-side condition is defined, the true action will fire when the condition is met.
C.
You can execute JavaScript code by creating a dynamic action.
D.
If no client-side condition is defined, true actions will not fire.
Answer:
B, C
Explanation:
Dynamic Actions in APEX enable responsive behavior:
If a client-side condition is defined, the true action will fire when the condition is met: A condition (e.g., this.browserEvent === 'click') ensures the true action (e.g., Show, Hide) executes only when true, enhancing precision in event handling.
You can execute JavaScript code by creating a dynamic action: The "Execute JavaScript Code" action type allows custom scripts (e.g., alert('Clicked!');), extending functionality beyond declarative options.
Cannot add more true actions: False; multiple true actions can be added post-creation.