Deleting Project Folders and Files

You can delete folders or files directly in Flare Online, within the Content Editor's Workspace.

Permission Required?

Editing content and project files is an activity available to users with the Author status. By default, users with Author status have the following permissions set:

  • If this is deselected, then viewing files in a read-only mode is allowed. On the left side of the page, the Files vertical three-dot menu is not available.

  • If this is deselected, the XHTML in the Code view is read-only.

    Editing code is regarded as a capability for an advanced user. If not done properly, the code can become malformed quickly. Administrators can prevent users from editing the code by deselecting the Edit Code permission.

For more information about permissions, see Setting User Permissions or Setting Team Permissions.

How to Delete a Folder or File in Flare Online

  1. On the left side of the Flare Online interface, click Projects.

  2. Select a project to open it.

  3. Click the Workspace tab at the top of the screen.

  4. From the Workspace view on the left side, navigate to the folder or file. You can also click to search for a specific file.

  5. Right-click a folder or file, and select Delete. If you are deleting a folder, all the subfolders and files under it will also be deleted.

  6. In the dialog, click Delete.

    Note Make sure you pay attention to any warnings in the dialog before deleting.

  7. To commit, the deletion(s), click at the top of the file structure to open the Workspace Overview.

  8. Select the checkbox(es) next to the items you want to delete, and in the upper-right, click Commit.

  9. Enter a Commit Message, and click Commit.

Deleting Top-Level Folders or Files

It is possible to delete folders and files at all levels, even the top level. For example, every project has a root Content folder and Project folder, as well as a .gitignore and .flprj file. Except in rare situations, you probably do not want to delete any of these folders or files because doing so will adversely affect your project. Warnings are evident in the dialog that opens when you attempt to delete any of these.

Restoring Deletions Before Committing

Since deleted files are not immediately deleted, but rather added to the Workspace Overview pending a commit, you can restore those files if you change your mind. To do this, click at the top of the file structure to open the Workspace Overview. Click the three-dot menu to the left of the file and select Restore. If that file was included in a folder that has also been deleted, restoring the file will also restore the folder

What’s Noteworthy?

Warning Use caution when deleting a file. If it has been previously linked to other files, deleting it can result in broken links. You would need to locate those broken links in Flare Desktop to fix them.

Note When you delete the final file within a folder, the folder is also automatically deleted.

Note If multiple authors are using the same file when you want to delete a file, consider the following:

  • The dialog displays a warning, letting you know that other users are editing the file and that deleting will lose their changes. You might want to discuss deleting the file with your co-workers first.

  • If you proceed to delete a file, a warning displays in the workspace for other authors indicating that the file has been deleted.

  • Once deleted and committed, the file is removed from the Workspace view and the Workspace Overview.

  • The Repository page, Commits area is updated with the change.