Limiting Attachment size in ALM?
Question ID: 108708
0
0

Hello All,
We have an issue where we are grown the data considerably because we are attaching lots of screen shots and files to the entities within ALM (test cases, defects, and requirements). Is there a way to limit the size of an attachment that we can upload to these entities? We have a requirement that the users attach smaller files sizes but lately have found some aren’t following these guidelines and we would like to be able to limit the sizes that can be uploaded until a time that we can better archive and obtain more free space.

Is there and easy way to do this through workflow or otherwise?

Thanks,
HomerJ

Marked as spam
Posted by (Questions: 379, Answers: 35)
Asked on October 30, 2018 2:03 pm
295 views
Answers (1)
1
Private answer

HomerJ,
The easiest way to accomplish what you are wanting is through adding parameters to the Site Admin within the site configuration parameters list.

In order to limit the attachment size uploaded through the default user methods, such as the user GUI, add the following parameter:

UPLOAD_ATTACH_MAX_SIZE
Description This parameter prevents the upload of attachments whose size is greater than the integer value specified for this parameter. The size is in kilobytes. Note: This parameter does not affect uploads of attachments in integration tools. The default value is -1 (meaning, all attachments are uploaded regardless of size).
Default value -1
Min value -1
Max value 9223372036854775807
Introduced in release QC 10.00
Introduced in patch GA
System false

However if uploading through email attachments then you will have to ad the following two parameters, the first affects single attachment sizing and the second overall attachment sizing when adding multiple attachments through a single email:

1) ATTACH_MAX_SIZE
Description The maximum size (in kilobytes) of an attachment that can be sent with email from ALM. If the attachment size is greater than the specified value, the email is sent without the attachment. By default, the maximum email attachment size is 3,000 KB.
Default value 3000
Min value 1
Max value 9223372036854775807
Introduced in release ALM 11.00
Introduced in patch GA
System true

2) ATTACH_TOTAL_MAX_SIZE
Description The maximum size (in kilobytes) of all attachments that can be sent with email from ALM (takes in account ATTACH_MAX_SIZE). If the total attachments size is greater than the specified value, the email is sent without the attachments.
Default value 10000
Min value 1
Max value 9223372036854775807
Introduced in release ALM 11.00
Introduced in patch GA
System false

Hope this helps,
Dan

Marked as spam
Posted by (Questions: 0, Answers: 770)
Answered on October 30, 2018 3:22 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top