APEX 21.2 New JavaScript APIs
apex.env
apex.env;
apex.date
apex.regions
apex.regions.emp.refresh();
OR
apex.region("emp").refresh();
apex.items
//Snippet from Stefan's Blog
// getting an item’s value:
var sal = apex.item("P1_SAL").getValue();
// is the same as
var sal = apex.items.P1_SAL.getValue();
// is the same as
var sal = apex.items.P1_SAL.value;
// setting an item’s value:
apex.item("P1_SAL").setValue(100);
// is the same as
apex.items.P1_SAL.setValue(100);
// is the same as
apex.items.P1_SAL.value = 100;
apex.items returned item types
Item Type | apex.items returned |
---|---|
Switch | CHECKBOX |
Checkbox | SINGLE_CHECKBOX |
Checkbox Group | CHECKBOX_GROUP |
Text Area | TEXTAREA |
Select List | SELECT |
Text | TEXT |
Number | NUMBER |
User name: You Name
To be continued….