Excel file IS DOWNLOADING AS BLANK FROM LIST VIEW
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 05:57 AM - edited ‎03-08-2024 08:42 AM
I have created a button generate excel ,on a list view of a particular table ,now i want to download all the records as excel on clicking on (but i want only few fields i added in specific view ).
I used 2 code for one it is getting downloaded but i want to control the field which will be downloaded-
function runContextAction() {
var exportHandler = new ContextMenuExportHandler(g_list,'unload_excel_xlsx');
exportHandler.exportRecords();
}
2)this is downloading an excel but it is blank
function runContextAction() {
g_navigation.open('/' +x_y_z(table name)+'_list.do?EXCEL&sysparm_view=PDF', '_blank')
}
how to download the excel with this pdf view where only specific field will be downloaded into that excel
Thank you
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 06:12 AM
@
Ankur Bawiskar can you pls help,i saw one post related this