how can i export data into excel [.xlsx] via script

snavuluri
Giga Contributor

Hi All,

 Please guide on,  how i can export data into excel [.xlsx] via script.

 

Regards,

Suresh.

1 ACCEPTED SOLUTION

@snavuluri 

we forgot adding the underscore

now it should work fine

g_navigation.open('/' + tableName + '_list.do?EXCEL&sysparm_view=ess', '_blank');

Regards
Ankur

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

View solution in original post

29 REPLIES 29

Prasad Dhumal
Mega Sage
Mega Sage
 

Please mark Correct/helpful if applicable, thanks!!

Prasad

 

snavuluri
Giga Contributor

Hi,

   Not able to get. Any other help.

 

Regards,

Suresh N.

Ankur Bawiskar
Tera Patron
Tera Patron

@snavuluri 

what is your exact requirement?

Can you explain so that some better approach can be shared

Regards
Ankur

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