oracle-apex

Apex Oracle: How to refresh Page Item?


I have a page Item on Apex 19.2

In page validation where I'm setting the value of the item: P1_MyItem. The value is set properly in session state. However it's not reflected immediately in the HTML item. I still need to reload the page to get the right value in the item.

Is there any way to reflect it immediately, without reloading the page?


Solution

  • You need to ensure Items to Return lists any item that is updated within the PL/SQL, that you would also like updated within the web page once the dynamic action is completed.

    enter image description here

    As opposed to 'Items to Submit', which sends any information in pages items the browser is aware of to the database, before execution of the PL/SQL block.