Open Modal/Inline dialogue using Javascript in Oracle Apex

In Oracle Apex 4.2 on wards we will find inline dialogue region to make a popup where as apex An inline dialogue can be opened using javascript.
Follow the steps below

1. Assign the Static Id(Ex:staticRegion) to the Inline Region.
2. Create a report on that page(Ex: Report1)
3. Change one of the column type to link in that report (Ex: Report1) to open the inline dialogue on click on that column
4. Put below javascript code to open the region.

javascript:openModal(‘staticRegion’);
5. To pass value to that region

javascript:$s(‘P301_X_ORDER_ID’,’#ORDER_ID#’);javascript:openModal(‘staticRegion’);

P301_X_ORDER_ID will be created in the inline dialogue.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *