Attachment Controls and Field Reference
You add files to work items from the Attachments tab on the work item form. For example, you can attach an email thread, a document, an image, a log file, or another type of file to any work item. This topic describes the controls and the data field that are associated with file attachments.
For more information about how to add attachments, see Create or Delete a File Attachment in a Work Item.
Attachment Toolbar Buttons
The Attachments tab is located in the lower half of most work item forms provided with the default process templates for Team Foundation Server, as the following illustration shows:
You must choose or attach a file before the buttons to open an attachment (), save a copy (Save Copy), and delete an attachment () become available.
Attachment File Count
The field in the following table does not appear on any work item form, but this information is tracked for each work item when you attach a file to it. You can use this field to filter queries and create reports. For information about data types and default field values, see Working with Work Item Fields.
Field name |
Description |
Reference name |
Data type |
Default value of the reportable type attribute |
Default value of the index attribute |
---|---|---|---|---|---|
Attached File Count |
The number of files attached to the work item and stored in the work item tracking database. |
System.AttachedFileCount |
Integer |
None |
False |
See Also
Tasks
Create or Delete a File Attachment in a Work Item