Administer > System Configuration Parameters > Client parameters for Web clients > Web parameter: preventDuplicatedAttachmentName

Web parameter: preventDuplicatedAttachmentName

Web parameters change the behavior of the web clients that connect to the web tier. You can set some of these parameters from the web client login URL, some from the web tier configuration file (web.xml), and some from both.

Parameter

preventDuplicatedAttachmentName

Description

This parameter controls whether to prevent an attachment that has the same file name with existing ones from being uploaded to Service Manager. If this parameter is enabled, a pop-up message box prompts you to change the name of the attachment when you upload an attachment with a file name that already exists.

Valid if set from

Web tier configuration file (web.xml)

Requires restart of the web applications server?

Yes

Default value

false

Possible values

true (Do not allow the upload of attachments with duplicate names)

false (Allow the upload of attachments with duplicate names)

Example usage

<context-param>
  <param-name>preventDuplicatedAttachmentName</param-name>
  <param-value>true</param-value>
</context-param>