Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to add Redirect, Process and Dialog Close Dynamic Action on a button?

user-4lth3Jul 13 2023

Hello,

I am working on a task in which I have two pages:

i) Parent Page

ii) Modal Dialog

I have two buttons on the parent page namely Button 1 and Button 2, initially, Button 2 is hidden. Now the situation is on click of the first button I need the following tasks:

  1. to execute a process to insert data into the database
  2. open the Modal Dialog Page

Post that I fill the data on Modal Dialog and add the Close Dialog action on a button in Modal Dialog Page since I need to return an item to the Parent Page on the close dialog. This return value will help me Show my Button 2 for further processes.

So the problem that is coming up is from what I have learned, to return an item on close dialog I need to make the action of Button 1 on the parent page as Redirect, now when I make it a redirecting button neither am I able to complete my tasks [(1) and (2)] with dynamic action nor from Processes and branching, and if I make its action as Submit or Dynamic Action I am unable to return the value on Dialog Close.

Can anyone please help me out of this complexity?

Comments
Post Details
Added on Jul 13 2023
8 comments
10,869 views