AttachmentFactory object
Manage attachments of the current field object.
You get an AttachmentFactory object from the Attachments property of objects such as Bug, Req, Test, TestFolder, TestLabFolder, and TestSet.
Public methods
This object supports the following methods.
Method | Description |
---|---|
Item |
Gets an attachment object managed by the factory by its key. Syntax: Parameter:
|
NewList |
Creates a list of attachments according to the specified filter. Syntax: Parameter:
|
RemoveItem |
Removes an attachment from the database. Removal takes place immediately, without a Post. Syntax: Parameter:
|
Public properties
This object supports the following properties.
Property | R/W | Type | Description |
---|---|---|---|
Fields |
R | List |
The list of all available fields for the entity managed by the factory. Syntax: |
Filter |
R | Object |
The TDFilter object for the factory. See TDFilter object. Syntax: |
Example