oracle-databaseoracle-apexoracle-apex-5.1oracle-apex-5

Oracle APEX takes a value from a function and uses it to open a new page


I have a function that returns a value (e.g.27). I am put this value to my page item (P2120_SYMPTOM_ID) and i want with this value to open with button another page (P2140).

I am going to button Link builder - target and i am using P2120_SYMPTOM_ID like this:

enter image description here

but unfortunatendly this value doesn't pass to my new page criteria. How can i use this value?


Solution

  • If you're just navigating to another page (as opposed to opening a modal window) then use action "Submit" on your button and create a branch to the new page. That is how navigation is supposed to be done. The link builder links are generated when the page is rendered and do not pick up session values.