Enable download prompt for attachments.

Document ID : KB000052152
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

How can we enable a download prompt to prompt users to save the file when downloading attachments on tickets?

Solution

This can be done through the web.xml servlet configuration file. The web.xml file can be found at the following paths:

Windows: $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\web.xml
Linux: $NX_ROOT is /opt/CAisd

In Web.xml, look for the following lines:

<!--
set param to YES to "always" force a Save-As Dialog box on downloads of attachments
this feature is useful for security reasons (disables automatic browser opening)
-->
<param-name>save_as_dialog</param-name>
<param-value>NO</param-value>
</context-param>
<context-param>

Change the following parameter to YES:

<param-value>NO</param-value>
TO
<param-value>YES</param-value>

NOTE: Recycle ServiceDesk daemons/services to implement the changes.