jneale/Xplore

New Feature Request - Open in Xplore from List page

Closed this issue · 1 comments

It would be nice to be able to Open in Xplore option available in List page.

image

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);

I found this feature is already available