Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Couldn't Set Page Items Value Using JavaScript on the Click of a Link in Interactive Report

Azam SajidNov 28 2023

I'm trying to set page items value using JavaScript on the click of a link in Interactive Report

but im getting [object HTMLCollection] in the page item rather than my doc_num value.

i followed following steps

  • create a function on JavaScript > Function and Global Variable Declaration.
function setItems(val)
{ 
    apex.item( "P43_RPDF" ).setValue (val);
}
  • Set the type of the column to Link and set the target type as URL and add the following code for the URL value:
javascript:setItems(#DOC_NUM#)
Comments
Post Details
Added on Nov 28 2023
0 comments
445 views