Extensions Allowed in Service Catalog
search cancel

Extensions Allowed in Service Catalog

book

Article ID: 57232

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

When trying to attach a file in Service Catalog the following warning is seen:

Warning
Invalid file name, does not have valid extension.
Only .gif, .tif, .tiff, .jpg, .jpeg, .png, .bmp, .docx, .xlsx, .pptx, .doc, .xls, .ppt, .zip, .jar, .apk, .rar, .pdf, .txt, .xml, .rtf, .properties, .log, .msg, .html, .avi extensions are allowed

Environment

All 17.x versions of Service Catalog

Cause

Service Catalog default configuration allows to attach only the following extensions:

.gif, .tif, .tiff, .jpg, .jpeg, .png, .bmp, .docx, .xlsx, .pptx, .doc, .xls, .ppt, .zip, .jar, .apk, .rar, .pdf, .txt, .xml, .rtf, .properties, .log, .msg, .html, .avi

Resolution

1) Log into Service Catalog Server

2) Go to %USM_HOME%\view\conf\ESAPI.properties

3) Add the extensions you need to use the HttpUtilities.ApprovedUploadExtensions. In this example .sql and .mdb . Example:HttpUtilities.ApprovedUploadExtensions=.gif,.tif,.tiff,.jpg,.jpeg,.png,.bmp,.docx,.xlsx,.pptx,.doc,.xls,.ppt,.zip,.jar,.apk,.rar,.pdf,.txt,.xml,.rtf,.properties,.log,.msg,.html,.avi,.sql,.mdb

4) Save Changes

5) Restart Service Catalog Services

6) Clear Browser Cache

7) Attempt upload again

As always, please try this in a non production environment before implementing in production