🔍 Extending Smart Search Filter for Multiple Regions
🚩Introduction
In Oracle APEX, the Smart Search filter is a convenient feature that allows users to quickly search data in a Classic Report or Cards region without writing custom code. However, this functionality is limited to a single region, which can be restrictive when a page contains multiple regions that should respond to the same search input.
- In this tutorial, you will learn how to extend the Smart Search filter to work with multiple regions on the same page. We will implement a solution that allows one Smart Search input to drive filtering across multiple Classic Report ,Cards regions etc.
- By the end of this tutorial, you’ll have a clear, reusable approach for coordinating search behavior across regions, improving both usability and consistency in your Oracle APEX applications without breaking the declarative nature of APEX.
📑 Why Extending the Smart Search Filter Is Needed
The built-in Smart Search filter in Oracle APEX works well when a page contains a single searchable region, such as a Classic Report or Cards. However, extending the Smart Search filter becomes essential when:
-
A single page displays multiple reports or card regions that should respond to the same search input
-
Users expect a global search experience instead of filtering each region individually
-
Related data is split across different region types (Classic Reports, Cards, or combinations of both)
-
Pages are designed as dashboards with multiple data views
-
Search criteria must be kept consistent across regions for better usability
-
Reducing page clutter by avoiding multiple search fields is a requirement
Extending the Smart Search filter ensures a more intuitive user experience, improves search consistency, and aligns Oracle APEX applications with modern, user-friendly interface expectations.
👉 Steps to Extend the Smart Search Filter Functionality
Step 1:
Step 2:
Step 3:
Step 4:
.png)
Step 5:
Step 6:
var dept_id = $v("P60_DEPT"); //Smart Search Filter (Department)
apex.item("P60_DEPT_ID").setValue(dept_id);
🔥 Conclusion
Thus, extending the Smart Search filter in Oracle APEX can be achieved using native APEX components and dynamic actions, without the need for custom plugins. By coordinating a single Smart Search input with multiple Classic Report and Cards regions, developers can overcome the default single-region limitation and deliver a more unified search experience.
This approach enables a consistent, page-level search mechanism that adapts well to dashboard-style layouts and multi-region pages. It not only improves maintainability by centralizing search logic but also significantly enhances the overall user experience, making Oracle APEX applications more intuitive and efficient to use.








Comments
Post a Comment