Enable download prompt for attachments
search cancel

Enable download prompt for attachments

book

Article ID: 52152

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

If you want to prompt your users to download a file when clicking an attachment instead of having the files instantly download on click, this article will guide you on how to enable this

Environment

All versions of Service Desk Manager

Resolution

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