Remove the attachment file type restriction in Asset Portfolio Management (APM) 12.9 and 14.x.

Document created by Debbie_Kuhar Employee on Mar 17, 2016
Version 1Show Document
  • View in full screen mode

Out of the box, attachment file types are restricted in APM 12.9 and APM 14.1 to the following file extensions:
txt,csv,map,bmp,gif,jpg,jpeg,png,doc,docx,xls,xlsx,pdf


This restriction can be removed to allow additional attachment file types to be uploaded by commenting out the following line in the web.config file on the web server.

<add key="AllowedFileTypes" value="txt|csv|map|bmp|gif|jpg|jpeg|png|doc|docx|xls|xlsx|pdf"/>.

 

Steps to remove the restiction on allowed attachment file types.

1. On the Asset Portfolio Management (APM) 12.9 or 14.x web server, browse to the following location
Program Files (x86)\CA\ITAM\Web Server
2. Open the web.config file with a text editor such as notepad
3. Change  the following line from
<add key="AllowedFileTypes" value="txt|csv|map|bmp|gif|jpg|jpeg|png|doc|docx|xls|xlsx|pdf"/>
to
<!--<add key="AllowedFileTypes" value="txt|csv|map|bmp|gif|jpg|jpeg|png|doc|docx|xls|xlsx|pdf"/-->
4. Save the change to the web.config file
5. Run an IISRESET on the web server

Additional information:


The purpose of the AllowedFileTypes property is to allow you to restrict the types of files which can be uploaded with the AjaxFileUpload control.
More information is available at
http://ajaxcontroltoolkit.devexpress.com/AjaxFileUpload/AjaxFileUpload.aspx

Attachments

    Outcomes