﻿# Document-type apps

> [HTML Version](360009923631.html)

Document type apps are used for creating documents in BRIX, such as agreements, memos, invoices and so on.

You can organize centralized storage, [register](app-registration-settings.md#registration) and [find](360009669952.md) documents, [add](docs-versions.md) new versions and compare them with each other, use [pre-built document routes](360010245000.md) for approval and review, and configure document workflows using business processes within [app](360009921131.md) or [workspace](360009661232.md). [Statuses](360009920611.md) help see at what stage the document currently is.

Here is an example of how the page of the **Document** type app item may look like:

**(dta4.png)**

## Create a Document type app

````
начало внимание

````
Only users included in the [Administrators](360006871932.md) group can create document-type apps.

````
конец внимание

````
Go to any workspace and click **Add **in the left menu. In the provided window, click **App**. Select **Document** and fill out the form:

**(new_doc_app.gif)**



- **App Name\***.** **The name of the app that will be shown in the left menu.

- **App URL\***.** **The URL for quick access to the app. The URL is created automatically, but you can change it if you wish to.

- **Item Name**.** **The name of the button for adding new app items.** **

- **Type**.** **Select **Document**. 

- **Visibility**.** **Specify, who will be able to see the app in the left menu. You can change these settings later, if necessary.

	- **Visible to everyone**.** **The app will be available to all users.

	- **Only to administrators**.** **The app will be available only to the users included in the [Administrators](360006871932.md) group.

- **App Icon**.** **The icon helps users quickly find the app in the left menu.

- **View**.** **Select the layout of [app items](360016427291.md).

After you fill in the data, click **Create**. A window where you can set up the [document form](360009671252.md) will open.

**(dta2.png)**

The default **File **field on the form cannot be deleted because it stores the file containing the uploaded or generated document. The system supports multiple file formats.



By default, the document name is created from a template using the name of the uploaded file. This is why the **Name** [key variable](360007679591.md#d0bad0bbd18ed187d0b5d0b2d0b0d18f_d0bfd0b5d180d0b5d0bcd0b5d0bdd0bdd0b0d18f) is hidden from the form settings. If you want the document name to be entered manually, change the item naming settings. To learn more, see [Item name](360007679591.md).

In the standard mode of form settings, the **File** field is a required one.

To add more fields, drag them from the right panel onto the main area of the form. You can read more about fields and their settings in [System data types](360009707032.md) and [App page forms.](360009918011.md)

You can set up custom forms for [creating](360009671252.md#create), [viewing](360009671252.md#view), and [editing](360009671252.md#edit) documents.

To do that, click **Advanced Mode** in the form settings window, next to the **Save** button.

**(dta3.png)**

In the advanced mode, the **File** field can be made optional. To do this, go to the creation form and remove the \* marker from the field.

This is convenient if you do not have a ready-made file and are planning to [generate it from a template](360026720792.md) during a business process. Don't forget to add the [Edit app item](360012454020.md) activity to the process to transfer the generated file from the process context to the item page.

To learn more on how to customize a form in the advanced mode, see [Configure forms in Advanced Mode](360028941032.md).

## Create an app item

An app stores documents of the same type. For example, the **Invoices** app stores all the company's invoices. Each document that belongs to an app is an app item.

**(dta5.png)**

To add a new app item, click the button in the top right corner of the app page. The name of this button depends on the app settings.** (dta6.png)**

In the opened window, add a file with a document and fill in the fields on the right panel. The fields on the panel may vary; they are defined when you are [creating the app](#h_e2905982-cb18-4f47-aab3-aa07d90e3e2d).

**(dta7.png)**

Like in regular apps, you can add buttons to the form of a **Document** type app and configure automatic process start. These actions are only available to the users included in the [Administrators](360006871932.md) group. To learn more about these settings, see [Manage buttons on app item pages](360019228531.md).