From my APEX page I am opening a pop up page and trying to load it with data from the database. To do so, I used Pre-Rendering After Header Process. Process type is set to PL/SQL code:
BEGIN
IF :P3_RECORD_ID IS NOT NULL THEN
select TYPE_ID, RECORD_TEXT
INTO :P3_TYPE_ID, :P3_RECORD_TEXT
from TABLE1
where RECORD_ID = :P3_RECORD_ID;
END IF;
END;
On the pop up page I have a dropdown (P3_TYPE_ID) which is filled from the LOV and a text field (P3_RECORD_TEXT). The values show up in the session state but not in the dropdown or a text field. I can't figure out what am I doing wrong...
I also tried Automated Row Fetch but that did not load any values into fields either, just into session state