Quantcast
Channel: ServiceNow Community - Post implementation
Viewing all articles
Browse latest Browse all 108

Export related lists

$
0
0

Hi,

We have developed a UI Context Menu to export the data from a related list which was created as a relationship. It works fine, but when we try to export the data it always uses the default view associated to the related list instead of the view which maybe the user had defined. Is there any way to use the specific view defined by the user for exporting data of this sort?

Here is the code:

var sysparm_rows = g_list.totalRows;
var num_rows = parseInt(sysparm_rows);
var sysparm_query = g_list.getQuery({orderby: true, fixed: true});

var listName = g_list.getListName();

read more


Viewing all articles
Browse latest Browse all 108

Trending Articles