- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2020 05:10 AM
I've seen this referenced in export (to Excel) functions but I cannot get a definition of it.
Is it part of some plugin maybe?
How can I get access to it?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2020 05:30 AM
These are internal java package files which are used for export functionality in the instance.
You cannot get access to the code, but you can use similar syntax below in contextual menu:
var dialog = new GwtPollDialog(g_list.tableName, sysparm_query, sysparm_rows, sysparm_view, 'unload_xml');
dialog.execute();
return;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2023 01:35 PM
I tried this function, but for some reason it does not work for me.
GwtPollDialog seems to do nothing.
I did made a selection, the query/rows/tablename are filled (checked by using an alert)
view I left empty, but also tried default
but it does not do anything. (I did use it from HR-scope at first, but also if I try from a global-scope, the result seems the same)
my instance is in Utah
what am I doing wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2024 09:38 PM
Hello,
Can we change the file name while exporting it? as of now, it get download with table name.file extension.
so is there any way to customize this file name?
can we pass file name to GwtPollDialog function?
Best Regards,
Pooja

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2020 07:41 AM
GwtPollDialog is used when exporting to Excel from UI Action:
https://www.servicenowguru.com/system-ui/enabling-related-list-exports-servicenow/
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2020 04:33 AM
Hope you are doing good.
Let me know if that answered your question.
if you think there is any response that helps you please mark that helpful or accepted so that this thread can be closed.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader