Reference : Attribute types : File
  
File
The file attribute is used for storing documents and images. The attribute contains references to the files that are uploaded to the database. Any file type can be stored in the database. When administrators configure the file attribute, they can attach either a single file or multiple files. The maximum, total size of the files attached to a file attribute is 50 MB.
 
Setting
Name and description
General
You can configure the following settings:
Name: Name of the attribute.
Description: Text describing the attribute.
Administrator Notes: Tips or information for other administrators. For example, “This attribute must not be editable in any views”. The administrator notes are displayed in the attribute setup when you configure access levels in views and when you add global attributes to modules.
Position Before: Determines where the attribute is placed.
Visual
You can configure the following settings:
Display Images As: For the image attached to the attribute, a setting to specify whether a thumbnail image should be displayed when the file attribute is displayed in a view. The dimension of the thumbnail image can also be selected from the available options.
Sort Files Based On: Specifies the file metadata to use when sorting the display of files in a file attribute.
Sort In Descending Order: Specifies whether the files should be sorted in the descending order of the file metadata.
Size
You can configure the following setting:
Maximum Size: Specifies the maximum, total size of the files that are attached to the file attribute. It can be 2,4,6,8,10, 20, 30, 40 or 50 MB.
Type
You can configure the following settings:
Allow Multiple Files: Specifies whether multiple files can be attached to the file attribute.
MIME Types Not Allowed: Specifies the MIME types of files that cannot be uploaded into this file attribute. Leave blank to allow all MIME types.
Mandatory
You can configure the following settings:
Mandatory: Makes sure that users enter a value for this attribute. Mandatory attributes are displayed with an asterisk.
Feedback Text: The text to display when the user does not specify a value for the mandatory attribute.
Confirm Dialog
You can configure the following settings:
Display Dialog: Displays a confirmation window for every change to the attribute. The confirmation window is displayed only if text is specified in the Dialog Text field.
Dialog Text: The text to display in the confirmation window that is displayed when there is a change in the file attribute. For example, when you make changes to the list of the attached files, the message Have you verified the list of attached files? is displayed in a window.
Change Log
You can configure the following setting:
Log Changes: Records all changes to the attribute.
Integration
You can configure the following settings:
Property URI: A unique URI according to the Open Services for Lifecycle Collaboration (OSLC) standard for the attribute.
Alias: Alias to use when you integrate with other tools. The default alias is an auto-generated random Universally Unique Identifier (UUID). You can change the alias, but it must be unique.
To add files
1 Click the Edit link of the file attribute. The edit page is displayed.
2 Click Add file link. The Open dialog box is displayed.
3 Select the file to be attached, and click Open to add the file. The name of the selected file is added to the list of attached files.
If the file attribute can have only a single attachment, click Replace file to select a new file. The name of the first file is displayed as struck through. You can use the rollback icon to select the first file again.
4 Click Save to save the changes.
To delete files
1 Click the Edit link of the file attribute. The edit page displays the list of attached files.
2 Click the delete icon corresponding to the files to be deleted. The deleted file names are displayed as struck through. To undo the selection, click the rollback icon.
3 Click Save to save the changes.
Go up to
Attribute types