What is GwtPollDialog and GwtPollScheduleDialog ?

harun_isakovic
Mega Guru

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?

1 ACCEPTED SOLUTION

Gowrisankar Sat
Tera Guru

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

https://<instance_name>.service-now.com/sys_ui_context_menu.do?sys_id=d1ad2f010a0a0b3e005c8b7fbd7c4e...

 

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@harun.isakovic 

those classes are internal to ServiceNow similar to GlideDialogWindow or GlideRecord and you may not have access to that

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Gowrisankar Sat
Tera Guru

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

https://<instance_name>.service-now.com/sys_ui_context_menu.do?sys_id=d1ad2f010a0a0b3e005c8b7fbd7c4e...

 

Hi Sativada, thank you for the response.

Would it be possible to use this syntax for a list banner UI action, to export certain records to excel?

And is there any more documentation on how its used/how I can use it?

Hi,

I have got a requirement to prefix Ritm to the file instead of table name(which is happening by default) which user will be downloading using the above option.
Can you please help me is there is any way to achieve this?