# File Categories

<a id="managing-file-categories"></a>

## Managing File Categories

The VPSA is preconfigured with file types, grouped into categories and
identified by their filename extensions.

The File Categories page under File Lifecycle Management displays a table
where each row is a file category and the list of filename extensions
associated with that category.
A filename extension can be associated with only one category.
The analytics feature reports based on data collected per filename
extension and its associated category.

File categories and filename extensions can be customized and
configured.

![file-categories](media/file-categories.png)

After customizing file categories using the Create, Edit or Delete options,
click **Refresh** to display the updated configuration in the File
Categories table.

<a id="creating-a-file-category"></a>

### Creating a File Category

The VPSA supports a maximum of 12 categories of files. If there are already
12 categories, consider merging two categories by removing filename
extensions from one category and adding them to another category, using the
**Edit** option. Then, use the **Delete** option to remove the category
that remained without any associated filename extensions.

1. In the top menu, click **Create** to add a new file category.
2. In the Create Category dialog box, enter:
   : 1. **Category Name**: A meaningful name indicating the type of files
        : (based on the filename extensions) that are grouped together for
          association with the category.
     2. **File Extensions**: For each filename extension that will be
        : associated with the category, enter the extension and click **Add**.
          The file extension will be added to the File Extensions table below.
3. Click **Submit** to save the new file category.

<a id="editing-a-file-category"></a>

### Editing a File Category

To change the name of a file category or to add or delete filename extensions
associated with a category:

1. Mark the category in the File Categories table by clicking on it.
2. In the top menu, click **Edit**.
3. In the Update Category dialog box:
   : * To change the category’s name, edit the entry in the **Category Name**
       field.
     * For each new filename extension to associate with the category, in the
       the **File Extensions** field enter the extension and click **Add**.
       The file extension will be added to the File Extensions table below.
     * To delete an associated file extension from the category:
       : 1. Scroll the File Extensions table to locate the file extension to
            delete.
         2. Mark the file extension row in the File Extensions table by clicking
            on it.
         3. Click **Delete** above the File Extensions table.
4. Click **Submit** to save the updated file category.

<a id="deleting-a-file-category"></a>

### Deleting a File Category

Deleting a file category will also remove all of the filename extensions
associated with the category.

1. Mark the category in the File Categories table by clicking on it.
2. In the top menu, click **Delete**.
3. In the confirmation dialog box, confirm the deletion.
