Copying Queries
StarTeam allows you to create new queries quickly by copying an existing query and editing it. Using this feature saves time because you do not have to recreate the query conditions.
To copy queries, do the following:
- Select a folder from the folder tree.
- Click a component tab.
-
Choose Filters > Queries.
The Queries dialog box opens.
- Select a query from the list.
- Click
Copy.
>The
Copy Query dialog box opens.
Tip: Public queries have a multi-user icon to the left of the query name. Private queries have a single-user icon.
- Type a name for the query in the Query Name field.
- Select the Public check box to add this query to the project (and the server configuration), allowing anyone with the appropriate access rights to use it. If you do not check the Public check box, the query will be private, that is, available only to your user ID.
-
Click OK.
The new query displays in the Queries dialog box.
-
To change the conditions in the query, select it from the Queries dialog box and click Edit.
The Edit Query dialog box opens.
- Edit the appropriate nodes of the tree.
- Click
Save.
The
Queries dialog box opens.
Note: If you do not have the access rights to create a public query for this project, you can create a private query.
- Click Close.
Note: If this is a public query, you might want to set access rights for it.