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

Document ID : KB000011243
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

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 12.8, 12.9, 14.1, 17.0
Answer:

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://docops.ca.com/ca-service-management/17-0/en/troubleshooting/troubleshooting-ca-service-catalog/miscellaneous-issues/how-to-limit-the-size-of-the-attachments-in-ca-service-catalog