"To submit this request, you must add an attachment to the service option(s). Use the Attachment icon of the service option." message appears no matter which language is used in Unified Self-service (USS).

Document ID : KB000008142
Last Modified Date : 09/05/2018
Show Technical Document Details
Issue:

The following message appears in Unified Self-Service (USS) integrated with Service Catalog when the language is NOT English:

"To submit this request, you must add an attachment to the service option(s). Use the Attachment icon of the service option."

Environment:
Unified Self-Service 14.1 and later
Service Catalog 14.1 and later
Cause:

Defect found with Service Catalog application

Resolution:

Note: Backup files before modify them and move the files outside of the Service Catalog folder.

1.  On the Service Catalog server, open the ...Service Catalog\view\webapps\usm\locale\<language folder>\request\request_create.xml file

Example for Spanish language:

...Service Catalog\view\webapps\usm\locale\iceses\request\request_create.xml

2.  Search for <attachment_mandatory>

3.  Remove where it shows {0} in the tag <attachment_mandatory>

4.  Open the ...\Service Catalog\view\webapps\usm\explorer\scripts\widgets\request-add.js file

If 14.1:

In the line 570 set the following:

attachments_mandatory_validation = l10n.attachment_mandatory;
 

If 17.1:

In the line 620 set the following:

attachments_mandatory_validation = l10n.attachment_mandatory;

Example:

User-added image

5.  Restart Service Catalog

6.  Delete web browser cache