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!

Passing selected column value from Interactive Grid to other page via cards

tansxhiJun 21 2023

Hello,

I need some help. I need to pass the selected IDs from an Interactive Report to an other page via the Cards menu. (Screenshot)

I get the column values via Dynamic Action: When IR changed with JS:

Here the selected value gets into an separate Item. Works fine.

var i, i_empids = "", i_empid, i_empids2 = ""
model = this.data.model;
for (i = 0; i < this.data.selectedRecords.length; i++) {
   i_empids += model.getValue(this.data.selectedRecords[i], "CD_ID");
   i_empids2 += model.getValue(this.data.selectedRecords[i], "INTERFACE_1");
}
apex.item("P1_CD_ID").setValue(i_empids);
apex.item("P1_INTERFACE1").setValue(i_empids2);

Next I click at the card to open an other page.

To pass the two Ids I insert the values in the card settings. But the Ids will not shown.

Comments
Post Details
Added on Jun 21 2023
0 comments
1,239 views