Is it possible to limit the size of attachments in Service Catalog?
search cancel

Is it possible to limit the size of attachments in Service Catalog?

book

Article ID: 11243

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

How can I configure Service Catalog so that the users will not be allowed to attach big size attachment file into the catalog request ?

Environment

Service Catalog 17.x

Resolution

This can be configured by editing the following section in  %USM_HOME%/view/webapps/usm/web-inf/web.xml file  :

<init-param>

    <param-name>maxPostSize</param-name>

    <param-value>5242880</param-value>

</init-param>

By default, the value is set to 5,242,880 bytes (5 MB). 
After modifying this value, you can limit the attachment file size to what you want. You will need to restart the Service Catalog service for the change to take effect.

Additional Information

The information in this article has been included in our product documentation. You can find further details here:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/troubleshooting1/troubleshooting-ca-service-catalog/miscellaneous-issues/how-to-limit-the-size-of-the-attachments-in-ca-service-catalog.html