Item Tags

Item tags can be created in three ways:

- Manually: You can manually create a tag for an item at any time.
- On closing SMART: When you close SMART, the system automatically creates a tag for each item definition that has been changed and has not yet been applied.
- On applying changes: When you apply changes to SpeechMiner, if you choose to create a backup, SMART automatically creates a tag for every item in the system; this tag contains the definition as it appears in SMART when the changes are applied

Each item tag includes the current definition of the item, the date and time the tag was created, your user name, and a comment. When you manually create a tag, you can enter the comment text you want to attach to it. When you apply changes, if you added a comment to the backup settings, the comment is attached to the tag of every item in the system. When SMART generates tags automatically before it closes, the tags have blank comment fields.

## Manually Creating Item Tags

You can create item tags for one or more items at a time, as long as they are all of the same type. For example, you can tag one or more Topics.

To create tags for one or more items:

1. In the left panel, select the tab of the type of item for which you want to create tags (Categories, Topics, or Programs), so that the tree structure is displayed.
2. In the tree structure, right-click the item you want to tag. To tag multiple items, hold down Ctrl or Shift while you click, and right-click after all the items are selected. (Ctrl causes individual items to be selected; Shift selects all items between the first and second item clicked.)
3. In the menu, select Tag [item type]. For example, if you are in the Topics tree structure, select Tag Topic. The Tag [item type] dialog box opens.

   Tag Topic dialog box

4. In the text field, enter a comment to attach to the tag.
5. If you selected multiple items, select Apply to all if you want to attach the comment to all of the items. If you do not select this option, the Tag [item type] dialog box will open again for each item you selected, so that you can enter a different comment for each one.

   Note: The Apply to all option does not appear if only one item was selected in the tree structure.

6. Click OK. The tags are created.

## Restoring a Tagged Definition

Any definition of an item that is stored in a tag can be restored to SMART by rolling back the definition to the selected tag. Note that this rollback process only restores the item definitions within SMART. If you want to restore the definitions to SpeechMiner, you must apply them after they are restored in SMART.

To restore a tagged definition:

1. Make sure the item whose definition you want to restore is not open or locked.
2. In the tree structure, right-click the item, and then select History. The History dialog box opens and displays a list of available tags for the item.

   History dialog box for "Balance Inquiry" Topic

3. In the list, select the tag you want to restore.
4. Click Mark for Rollback. A rollback message appears at the bottom of the dialog box indicating that the item definition will be restored in accordance with the selected tag.

   Rollback message

5. Click OK. The definition of the item in SMART is restored to match the tagged definition.

## Managing Tags

You can change the comment text of any tag that you created or any tag you have permissions to change. You can also delete these tags as necessary.

Note: Tags that were generated as a set during an apply process cannot be modified or deleted individually as described below. For information about modifying or deleting them, see Rolling Back the Definition Set.

To change the comment of a tag:

1. In the tree structure, right-click the item whose definition you want to restore, and then select History. The History dialog box opens.
2. Click the comment text that you want to change. The text becomes an editable text field.
3. Modify the text as necessary and then click outside the text field to close it.
4. Click OK. The change is saved.

To delete tags:

1. In the tree structure, right-click the item whose tag you want to delete, and then select History. The History dialog box opens.
2. Select the tags you want to delete. To select multiple tags, hold down Ctrl or Shift while you click. (Ctrl causes individual tags to be selected; Shift selects all tags between the first and second tags clicked.)
3. Press Delete. The selected tags are deleted from the list.
4. Click OK. The tags are deleted from the database.

See also

Rolling Back the Definition Set