Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Oracle apex – disable notification on modal page from page 0

On global page (page 0) I have content for global notification. But when open modal page over standard page I have double notification top of page in background and top of modal page.

Is it possible disable notification on modal page only appear on standard oracle apex page.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I don’t know how to do it for modal pages (as "page type"), but – see if the following suggestion helps.

As objects on page 0 affect all pages, set notification’s Server side condition not to display on certain page numbers. For example, if you don’t want to see it on pages 26, 42 and 73, server side condition (whose type is "Function body") would look like this:

RETURN :APP_PAGE_ID not in (26, 42, 73);

Basically, you’d put all those modal pages’ numbers in here.


As of comment posted by user_odoo: that might be possible, nice idea as well; see

SELECT *
  FROM apex_application_pages
 WHERE     application_id = :APP_ID
       AND page_mode = 'Modal Dialog';

Function body would then look like this:

DECLARE
   l_cnt  NUMBER;
BEGIN
   SELECT COUNT (*)
     INTO l_cnt
     FROM apex_application_pages
    WHERE     application_id = :APP_ID
          AND page_id = :APP_PAGE_ID
          AND page_mode = 'Modal Dialog';

   RETURN l_cnt = 0;
END; 
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading