It would be nice to be able to Open in Xplore option available in List page.
Xplore code edit have pre-filled code like below dynamically based on selected table, applied filters, group by & sorting.
var gr = new GlideRecord('incident');
gr.addEncodedQuery('universal_requestISEMPTY');
// ADDED LIMIT TO AVOID FETCHING LOT OF RECORDS. YOU CAN REMOVE AFTER VERIFYING NUMBER OF RECORDS
gr.setLimit(50)
gr.query();
var records = [];
while (gr.next()) {
records.push(gr.getDisplayValue("sys_id"));
}
gs.log("Total count: " + gr.getRowCount())
gs.log(records);
It would be nice to be able to Open in Xplore option available in List page.
Xplore code edit have pre-filled code like below dynamically based on selected table, applied filters, group by & sorting.