﻿# Create an app item on the page of another app

> [HTML Version](360029148471.html)

When working in BRIX, you can add a field to the [app](360006963072.md) with a link to another app. This field can be configured so that employees can create records in the associated app when viewing the item page.

For example, it's convenient to work with candidates in two apps: **CVs** and **Interviews**. On the CV viewing form, an HR employee can create an interview with a candidate without switching to the **Interviews** app. Simply click the add item button **[![clip0011](clip0011.png)]**.

** (hmfile_hash_83664771.png)**

The new interview entry will appear both on the **CV** page and in the **Interviews** app.

Let’s see how to configure creation of the linked item from the app view form.

## Add a link to an app

To the form of the **CVs** app, add an [App](360009707032.md#app) field and configure it:

**(create-app-item-from-another-app-2.png)**

1. In the **App\* **field, select **Interviews**.

2. Since we want users to be able to add several interviews to the page of one **CV**, we need to select **Many**. Otherwise, users will only be able to add one interview.

3. To configure automatic input of values into the fields of the **Interviews** app items, click the **Default values for new items** link.   
  
For example, on the interview form, the **Candidate** field can be pre-filled automatically with the name from the linked CV. Read more in [Default values for new items](360022129191.md).

**Note**: do not activate the [Bound apps](360020016471.md) option because once it is enabled, the add button will be unavailable. To learn more about all settings of the **App** type field, read the [App data type](app-data-type.md) article.

Once the form is configured and saved, users will be able to create new interviews directly on CV’ pages.

````
начало внимание

````
The add button is only available to those users who have the [permissions](360007527512.md) to view or edit the current app item and to create items of the associated app. These settings need to be set [for app items](app-rights.md).

````
конец внимание

## ````
Set up the add button

In the button settings, you can:

- Hide the button if you don’t need to create items from the page.

- Change the way of adding items.

Based on the same example, let’s see how to change the settings of the add button. 

1. In the **CV** app, switch to the [advanced mode](360028941032.md) for configuring the forms. It is impossible to configure the add button in the standard mode.  
**(create-app-item-from-another-app-3.png)**

2. Open the **View** tab and click **Interview** in the list of properties.  
**(hmfile_hash_46b9b832.png)**

3. In the window that opens, go to the **App Item** tab.  
**(create-app-item-from-another-app-5.png)**

- **Show a button that allows users to add new items**. Uncheck the box to hide the add button from the view form.

- **Create Item Button**. Select how a new item needs to be added. In our example, three options are available: **<Standard creation>**, **+ Interview**, and **Interview candidate**.

Let’s take a closer look at these options.

1. **<Standard creation>**.   
  
This is the** **default option allows users to save a new item of the linked app. When a user clicks the button, a standard window for creating a new interview opens.  
**(hmfile_hash_2f24a640.png)**  
Fields configured for [automatic value insertion](#pre-filled-fields) from the CV will be pre-filled. The user manually enters values in empty fields. After saving, the item is added to both the **Interviews** app and the CV view page.  
**(hmfile_hash_47520328.png)**

2. **+ Interview**.  
  
This option works the same way as the [button for creating app items](360019229331.md) located on the app page. Fields configured to automatically pull values from the CV will be pre-filled. If a business process is linked to the button for creating a new item, it will also be triggered.

3. **Interview candidate**.  
  
The option allows you to run by button a business process created at the level of the app to which the item is added. If [a button to run the process from the app page](360019229331.md#start_process_button) has been added, the process will appear in the list for selecting an app item create button. The name of the option in the settings corresponds to the name of the process.  
  
To have an app item added at runtime, include the [Create App Item](360019810892.md) activity.  
  
For example, the **Interviews** app is configured with the **Interview candidate** process. In this process, an HR employee sets a date for the interview, the department manager confirms the date. The supervisor then receives a task **Prepare** **a test case** and the interview is [added to the calendar](360028290072.md).  
**[![09.PNG](360007997640-09.PNG)]**

A new item is then created and added to both the **Interviews** app and the CV page from which the process was run.