Administer > System configuration parameters > Servlet parameters > Parameter: maxattachmentcount

Parameter: maxattachmentcount

Startup parameters change the behavior of the Service Manager server. You can always set a startup parameter from the server's operating system command prompt.

Parameter

maxattachmentcount

Description

This parameter specifies the maximum number of files that can be attached to an individual record. If this limit is exceeded, the attachment upload process fails and the following error is displayed in the user interface:

The total number of attachments in this record exceeds the maximum allowed number for a single record.

The same error message is returned in the response if you attempt to add attachments through a SOAP or RESTful call and the number of attachments exceeds this limit.

Note If an existing record has already more attachments than allowed by maxattachmentcount, the existing attachments are retained, but uploading of new attachments will fail.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

100

Possible values

0 to unlimited

Example usage

Command line: sm -httpPort:13080 -maxattachmentcount:100

Initialization file: maxattachmentcount:100

Related topics

System parameters
Web tier parameters

Related topics

Setting file attachment limits

Related topics

Web parameter: maxattachuploadsize
Web parameter: maxtotalattachuploadsize