Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

455
Views
send the value of the field from an interactive grid to another page and store it in an item with Javascript and Oracle Apex

Good evening, I currently save the value of a field of the grid in an item (P5_VALUE),send it to another page (page 6) and store it in an item (P6_VALUE) through a button

Action: Redirect to Page in this application.

Target: Page in this application , Page: 6, set Items: NAME: P5_VALUE, VALUE: P6_VALUE, Action: Reset Pagination. This is the url that is generated: http://ip:port/ords/app/system/page?p5_value=61&clear=RP&session=12518184703789

But now I want to do the same with APEX$ROW_SELECTOR. With this code I have been able to add an action to the grid and get the value of the field but I do not know how to send it to the other page and assign the value to the other item

var view = apex.region("ig-emp").widget().interactiveGrid("getViews", "grid"),
menu$ = view.rowActionMenu$;

menu$.menu("option").items.push({
 type:"action",
 label:"Get Emp No",
 icon: "fa fa-close",
 action: function(menu, element) {
                     var record = view.getContextRecord( element )[0];
                     var val1 = view.model.getValue(record, "EMPNO");
                                 }
 });

Por favor su ayuda, gracias

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Use the below approach to achieve this:

  1. Let me start by adding some more lines to your code.
var view = apex.region("ig-emp").widget().interactiveGrid("getViews", "grid"),
menu$ = view.rowActionMenu$;

menu$.menu("option").items.push({
 type:"action",
 label:"Get Emp No",
 icon: "fa fa-close",
 action: function(menu, element) {
                     var record = view.getContextRecord( element )[0];
                     var val1 = view.model.getValue(record, "EMPNO");
                     apex.page.submit({
                          request:"NAVIGATE",
                          set:{"P1_EMPNO":val1},
                          showWait: true
                     }); 
                                 }
 });

Note: in the above code replace P1_EMPNO with your page item name.'

  1. Create a Branch -> Type: Page or URL(Redirect).
  2. Select the page number to redirect and set the value of the current page item to the new page item. Refer below screen shot for example.

enter image description here

  1. In the Server-side condition, select the Type as Request = Value and provide the value as NAVIGATE. Refer below screen shot.

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!