Delete a folder
You can remove a folder from the Components browser if it's empty or if none of the components it contains has a relationship with other components. You can delete a folder using the Options menu or the right-click menu.

Forcing the deletion of referenced components
Components can contain references to other components, such as in a map. By default, when you try to delete a component that is referenced in another topic, Inspire does not allow it because those link references will become invalid. If you don't want to remove references to a component before deleting it, or you are having issues and just need to delete a component and break the links anyway, you can allow an administrator to force Inspire to delete the component. For more details, Administrators can read: Allow forced deletions.
Restrictions when forcing a deletion
- You cannot force the deletion of a topic if it is referenced by a locked component.
- An administrator sees an error explaining that they cannot force delete the component because it is referenced by a locked component.
- To force the deletion, you must unlock the component that references it first, and then try again.
- For more details, read Delete components.
Fixing errors
If any of the components in the folder or one of its sub-folders has a relationship with other components in the folder hierarchy, you see the following error when you try to delete a folder:
To remove relationships so you can delete a folder:
- For each component in the folder, See where a component is used.
- Go into each sub-folder and check each component's references using See where a component is used.
- Go into each sub-folder and delete the components it contains one at a time to see where the errors are.
- In the folder you want to delete, delete the components it contains until the folder is empty.
Restoring deleted components
If you delete a folder, the folder can't be restored but you can re-create it.
- Any components contained in a folder you delete are sent to the Deleted Items folder until you delete them permanently. Follow the steps in Permanently delete components.
- If you want to restore a component, and you deleted the original folder without re-creating it, the component is restored to the parent folder that contained the folder you deleted. Follow the steps in Restore deleted components.