Enable download prompt for attachments.

Document ID : KB000052152
Last Modified Date : 11/01/2019
Show Technical Document Details
Question:

How can one allow a download prompt to be presented to prompt users to save the file when downloading attachments on tickets?

Answer:

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.

Additional Information:
Please be sure to backup the web.xml file prior to applying the above change.