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#)