Export submit functionality not working 

book

Article ID: 185901

calendar_today

Updated On:

Products

CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

The export button does not work.
Export button on click will stay there doing nothing and does not provide the results as per the functionality

Restart of the CA services did not help

Cause

CORS filters are not defined and also the servlet_server_URL is defined without the fully qualified domain name

Environment

Release : 17.1

Component : SERVICE DESK MANAGER

Resolution

The solution is to update the CORS filters in web.xml and also the servlet_server_URL values to be updated with the FQDN addresses of the server.

Steps as below for web.xml file
1. Login to the SDM server and go to the location SDM_HOME\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF
2. Edit the web.xml file
3. Search for the parameter "cors.allowed.origins"
4. Update the value as below format accordingly to your environment FQDN
<param-value>http://<HOSTNAME_FQDN>:8080</param-value>
</init-param>
Note: Above is example info only and you might have to add more urls if you have multiple components in use i.e. Servicepoint, USS, Service Catalog etc. 
5. Save the file

Steps as below for NX.env file
1. Open the NX.env file from <SDM_HOME>
2. Search for below parameters
3. Update the parameter @NX_SERVLET_SERVER_URL = http://<HOSTNAME_FQDN>:8080
4. Update the parameter @NX_LOCAL_SERVLET_SERVER_URL = http://<HOSTNAME_FQDN>:8080

Note:  Restart the services for the changes to be effective immediately