LinkFactory object
Manage Link objects.
You can get a LinkFactory reference from either of the following:
- 
                                                                
The LinkFactory property of a Bug object.
 - 
                                                                
The BugLinkFactory property of any object that can be linked to a defect, such as Req object, Test object, and TestSet object.
 
Public methods
This object supports the following methods.
| Method | Description | 
|---|---|
| 
                                                                         AddItem  | 
                                                                    
                                                                         Creates a new item object. Syntax:  Parameters: 
 Return: A Link object.  | 
                                                                
| 
                                                                         NewList  | 
                                                                    
                                                                         Creates a list of objects according to the specified filter. For details, see NewList.  | 
                                                                
| 
                                                                         RemoveItem  | 
                                                                    
                                                                         Removes item from the database. Removal takes place immediately, without a Post. For details, see RemoveItem.  | 
                                                                
| 
                                                                         Item  | 
                                                                    
                                                                         Gets an object managed by the factory by its key. For details, see Item.  | 
                                                                
Public properties
This object supports the following properties.
| Method | 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:

                                                        
                                                        
                                                        
                                                        
                                                        
 
                                                                    
                                                                    
                                        
                                        