How to fix that? I am not able to export excel file successfully in vendor risk assessment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 02:51 AM
How to fix that I am not able to download the excel after clicking on export.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 02:59 AM
Hi,
So what is configured in that list banner button?
please share the script
was it working fine earlier?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:04 AM
I don't know but there are some other VRA numbers and I can export successfully but some of VRA I can. If I go through the view response options then I am getting error like sheet name cannot contain :/?*{}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:15 AM
what's the script inside that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2022 03:28 AM
function exportAllPopup() {
var tblName = g_list.getTableName();
var parentSysId = g_form.getUniqueValue();
var listID = g_list.listID;
var cBoxes = document.getElementsByName('check_' + listID);
for (var i = 0; i < cBoxes.length; i++) {
cBoxes[i].checked = true;
}
var incQuery = 'vendor_risk_assessment=' + parentSysId + '^questionnaire_instance.state=complete^ORresubmit_counter!=0';
var excludeQuery = 'vendor_risk_assessment=' + parentSysId + '^questionnaire_instance.state!=complete^resubmit_counter=0';
var dialogClass = window.GlideModal ? GlideModal : GlideDialogWindow;
var dialog = new dialogClass('sn_vdr_risk_asmt_export_excel', false);
dialog.setSize(500, 500);
dialog.setTitle(getMessage('Export all questionnaires'));
dialog.setPreference('sysparam_name', tblName);
dialog.setPreference('sysparam_incQuery', incQuery);
dialog.setPreference('sysparam_exclQuery', excludeQuery);
dialog.render();
}