Although it may not come up frequently, at some point you may want to delete a config item from the database rather than taking out a new version of it. When removed, the config item will no longer be available for users to select. Once it is deleted, it is permanent and there are no references to it once deleted. The delete method is performed in the SystemWeaver server, which resolves any internal references between the items to be deleted and performs the delete in an optimum order so that referential integrity is maintained. This article describes the available options for deleting config items.
- Deleting from the Definition Tab
- Deleting from the Open Item Page
- Deleting from Versions View
- Deleting via the swArchitect Client
- Viewing a List of Delete Operations
Deleting from the Definition Tab
The latest version of a configuration item can be deleted from the Definition tab in the configuration view.
- Search for and open an item of the item type that the config item was created for. In the below example, a "Function specification" has been opened for which the "FC graph 1" is configured and displayed.
- Switch to the Definition tab in the view.
- Click on the Versioning drop-down menu and select Delete this configuration.
The selected config item, in this example "FC graph 1, will immediately be deleted from the database.
|Note: For Occurrence Matrix, the delete option is located to the far right.
Deleting from the Open Item Page
- Search for the Config Item(s) that you want to delete by selecting Open item>Other item type. Then, check the Include Base Item checkbox in the Select Type dialog. The various Config Item types will display.
- Select the Config Item type for the definition(s) that you want to delete, e.g., Grid definition, and click OK. You can only search for one type at a time. Your results will display on an Open Item page.
- Select the Config item(s) to delete and click Delete item(s) in the Action menu to the left. (Alternatively, press Delete key.)
- In the "Do you want to permanently delete these items?" confirmation dialog, click Delete Items.
Deleting from Versions View
Deleting via the swArchitect Client
Config items can also be deleted using the swArchitect.
- Select the item type in the Type tree for which the config item was defined.
- Switch to the Config Items tab.
- In the Config Items list, select the config item that you want to delete. If needed, you can first view the Definition in the Attributes section to the right.
- Click Remove Config item. To continue click OK to the confirmation dialog.
The config item is now removed from the database.