Unable to export from search results lists after upgrading to RUxx
search cancel

Unable to export from search results lists after upgrading to RUxx

book

Article ID: 260508

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

After upgrade to RUxx, the Export button does not work.  It produces the red "circle and slash" icon instead.  Checking stdlog.*, jsrvr.log, and pdm_tomcat.log, no records about the export attempt are being written to these files.  The Chrome F-12 Console log shows this error message:

Environment

Service Desk Manager 17.3 and higher

Cause

As per the error screenshot 
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=qJXcxa0/C6eFByeD0FJssw==

It is pointing to the code snippet as per std_list.js attached to the defect:
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=EVFtz6di1GYHMEUfLn/0BQ==

it looks like it is not able to find the value of cfgUseLegacyExport which should be defined in ahdtop.html as var cfgUseLegacyExport="$env.NX_USE_LEGACY_EXPORT";

Recommend to check whether ahdtop.htmpl is customized or not. If it is not updated this means the language patch might be not applied propertly. 

For the time being you can add the line in ahdtop.htmpl as below. And you can refer ahdtop.htmpl in your local OOB environment. 

Resolution

The version of ahdtop.htmpl that had been customized before had not been updated with the changes for RUxx.  One line was added accordingly:

var cfgUseLegacyExport="$env.NX_USE_LEGACY_EXPORT";

After this the exports began working as expected.

See the information on the customizations upgrade utility.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/upgrading/upgrade-to-ca-service-management-17-3/upgrading-to-ca-service-desk-manager-17-3/perform-the-ca-sdm-post-upgrade-tasks/customization-upgrade-utility.html