Reputation: 1138
I have page with Classic Report on it (type = PL/SQL Dynamic Content). What I need it's passing one column value to PL/SQL via Dynamic Action when click on another column. It's no problem to initiate click action, but I don't know how to pass equivalent of #col_name# (not :Pxxx_item_name) to PL/SQL.
Application Express 5.0.4.00.12
Upvotes: 0
Views: 4600
Reputation: 15094
I'm not sure what you're trying to pass, so I'm just going to call it "item".
data-item="#COL_NAME#"
. This would go on the image that's getting clicked. You might need to use the HTML Expression option to set this.this.triggeringElement.dataset[ "item" ]
, Affected Element > Selection Type = Item, Item = P1_ITEM.:P1_ITEM
or V('P1_ITEM')
.When the DA fires, it will populate the column value into P1_ITEM
, then submit that to the server where it's stored in session state, then run your PL/SQL code.
Upvotes: 1