Clicky

APEX - Set item value from different page via Javascript

July 3, 2014

In order to set a item value in another page without submitting the page create a Javscript call in the source page:

javascript:opener.document.getElementById(“DESTINY_PAGE_ITEM_NAME”).value = VALUE_TO_SET;

For example, you may have an interactive report showing a set of values, on click, this row values should populate a form in a different page:

  • Interactive Report:

  • Interactive Report configuration:

  • Source page header section source: