Creating External Links

A link is a connection between two folders, two items, or a folder and an item on the same server, or on two different servers (called External Links).

Creating links can be quite useful. For example, linking a file to a change request allows you to mark it as fixed when you check in the edited file. By linking files to the requirements document that the files fulfill, you can easily refer to or update the document.

Note: When you create external links between items on different server configurations, both server configurations need to be opened in the StarTeam Cross-Platform Client to be able to create or view the external links. Also, to create external links, you must have the access rights to the generic external link access rights, such as create, see, modify, delete.

To create external links, do the following:

  1. Open both projects and servers which have items you want to link. External links will not work unless both servers are opened in StarTeam before you create the link.
  2. Begin the link process by doing one of the following:

    • Select a folder from the folder tree or in the upper pane on the Folder tab.
    • Click a component tab in the upper pane, such as File, Change Request, Requirement, Topic, or Task, and select one or more item
  3. Right-click the selected item(s) on the component tab and choose Links > Create Link. The Links menu is also available on the component menu that corresponds with the selected component tab.

    This action changes the mouse pointer and displays it as a knotted rope.

    Note: If you initially select an item from the upper pane, you can also use the Link button on the toolbar. However, this button is disabled if you start the link with a folder.

  4. Select the folder or item(s) for the end of the link in the project on the other StarTeam Server. This can be:

    • A StarTeam folder (if you have not already selected a folder).
    • One or more other files.
    • One or more change requests or change packages.
    • One or more requirements.
    • One or more topics/responses.
    • One or more tasks/sub-tasks.

    To locate all items, you may need to switch to a different component tab or use the All Descendants button on the toolbar

  5. Click Folder Tree > Links > Complete Links or click the Link button again on the toolbar.

    This button is disabled if you are linking an item to a folder.

  6. Verify that the links exist by doing one of the following:

    • Select a linked item, then click the Link tab on the lower pane to view the links for the item.
    • Right-click a linked folder, then choose Properties to display the Folder Properties dialog box. Click the Link tab to view the link. (The Link tab will not appear in this dialog box if you do not have access rights to view links.)

    You can also view a link by selecting either of its ends. The end you select, whether a folder or an item, is called the source. The other end of the link is called the target and is listed in the Item Type column on the Link pane.

Note: If you change your mind about creating a link after you have started to create it, but before you have finished completing it, you can select Links > Cancel Link on the Folder Tree menu, the component menu, or the context menu. If you are using the Link button on the toolbar, press ESC.

Note: External links can also be created using drag-drop. With both views open, select the source item, press CTRL + SHIFT, then drag-drop it on the target item.