Enable download prompt for attachments.

book

Article ID: 52152

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction



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

Environment

Release:
Component: ARGIS

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.