Forum Stats

  • 3,817,327 Users
  • 2,259,314 Discussions
  • 7,893,750 Comments

Discussions

how to keep alert message when navigate to other page in APEX.

Allen Xu
Allen Xu Member Posts: 2 Red Ribbon

now we can use Ajax call the process.

But our customer want to know, when the plsql got the exception error, how to get this error message, and popup this message.

also, we want to keep this message in the same page.


Now the situation is, when we got the message, and popup it. then APEX will navigate to other page, the message can't keep.


Do you have any ways, to keep this message show?

Tagged:

Answers

  • InoL
    InoL Member Posts: 9,817 Gold Crown

    Now the situation is, when we got the message, and popup it. then APEX will navigate to other page, the message can't keep.

    Check if you have an After processing branch. Make this branch conditional, e.g. using standard condition "Inline Validation Errors NOT displayed". Or any other condition that works for you.

    That way you won't go the other page, and the error message is still displayed on the current page.

  • Allen Xu
    Allen Xu Member Posts: 2 Red Ribbon
    edited Sep 13, 2021 1:44AM

    Hi Inol,

    Thank you for your response. we use Ajax callback to call the process and in the meanwhile, navigate to other page.

    Cause our customer don't want to wait at this page, our other page is the log confirm page. want to wait at that page to see whether this process run successful or not. 

    Also when the process got the exception error, want to popup this message and stay at first page.

    Do you have any ways?

    Thank you very much!