# Adding and Editing Content

## Adding Line Items

### Adding from item lists&#x20;

From any [**Variables**](https://help.taglo.io/variables), [**Assumptions**](https://help.taglo.io/assumptions) and [**Metrics**](https://help.taglo.io/metrics) list, you can add items directly to the Layout, as shown below. An **Add to layout** button will appear <mark style="color:green;">**(1)**</mark> when any items are selected. An **Add to sheet** button is also available on the Variable itself <mark style="color:green;">**(2)**</mark> - this button will only be shown if the Variable has not been added to the Layout yet.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FwQqrpymcMzK9qfpScuFL%2Fimage.png?alt=media&#x26;token=5adaab86-ee66-4ddd-982d-75edf5981ac8" alt="Screenshots showing Add to Sheet buttons in the Variables view (left) and Metrics view (right)"><figcaption><p><strong>Add to sheet</strong> buttons in the <strong>Variables</strong> and <strong>Metrics</strong> tab4</p></figcaption></figure>

Pressing one of these buttons will open an **Add Item to Layout wizard**, as shown in the screenshots below. Select a [**Sheet**](https://help.taglo.io/layout/sheets) <mark style="color:green;">**(1)**</mark>, and a [**Line Group**](https://help.taglo.io/layout/sheet-content#line-groups) to add the items to <mark style="color:green;">**(2)**</mark>. Line Groups can be added and edited as desired in the **Line Group step**.

{% hint style="info" %}
The **Sheet step** will only show Sheets of the correct item type. If you add a new Sheet here, it will automatically be of the correct type.
{% endhint %}

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FjI7763owkvE6cmGtSt7K%2Fimage.png?alt=media&#x26;token=ad9e41cd-c1cd-4b4f-b86d-17b49f8eed6a" alt=""><figcaption><p><strong>Add Item to Layout</strong> wizard</p></figcaption></figure>

#### Show/Hide Layout buttons

If you do not want to see **Add to sheet** buttons on the Variables themselves, you can hide them from the Menu, by navigating to **View > Show Layout buttons**, as shown below.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2F8ZJFbhIcxuizEfZsWDC6%2Fimage.png?alt=media&#x26;token=ce5ba557-e795-41ac-8dcf-f5a9c943f78b" alt=""><figcaption><p><strong>Show Layout buttons</strong> toggle</p></figcaption></figure>

### Adding in the Sheet preview

From any Sheet preview, as shown in the screenshot below, you can add items to a Line Group by selecting the Line Group and pressing the **Add items** button.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FV6ozyBEYyre8uhjUsBX7%2Fimage.png?alt=media&#x26;token=1f1fbdcb-4f2c-4b51-9078-6e5796bbb36b" alt="Screenshot of a Sheet preview, with the Add Items to LineGroup button highlighted" width="563"><figcaption><p>Adding items from the Sheet preview</p></figcaption></figure>

## Adding Line Groups

From any Sheet preview, as shown in the screenshot below, you can add Line Groups by pressing the **New** button <mark style="color:green;">**(1)**</mark> - this will add a new Line Group to the bottom of the Sheet. If you select an existing Line Group, you can add a child Line Group directly, by pressing the **Add child group** button <mark style="color:green;">**(2)**</mark>.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FMdcC8yEn6IBj3ZnD7cfy%2Fimage.png?alt=media&#x26;token=47c0b911-d918-4de5-840d-c2bb2c58bbc2" alt="Screenshot of a Sheet preview highlighted the New LineGroup button and the &#x22;Add Child Group&#x22; button" width="563"><figcaption><p>Adding Line Groups</p></figcaption></figure>

### The Line Group wizard

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FH9QXTj4WQhwmV3QmKbL7%2Fimage.png?alt=media&#x26;token=0e975954-6b1f-432f-8392-f95cbd59cbf9" alt=""><figcaption><p>The Line Group wizard</p></figcaption></figure>

The Line Group wizard, as shown in the screenshot above, allows you to enter a Name and some formatting options, as follows:

<table data-header-hidden><thead><tr><th width="281">Formatting option</th><th>Details</th></tr></thead><tbody><tr><td>Number of lines before/after header</td><td>Changes the number of blank lines inserted into the spreadsheet before and after the Line Group heading</td></tr><tr><td>Include header?</td><td>Specifies whether to include the header in the generated spreadsheet. In this way, you can use Line Groups to create custom spacing between items, without displaying a header.</td></tr></tbody></table>

## Editing in the Sheet preview

### Drag and Drop

The Sheet preview supports drag and drop to move single or multiple Items and Line Groups.

### Line Group level controls

When you hover over a Line Group, as shown in the screenshot below, buttons will appear that can be used to promote/demote the Line Group between levels.

<figure><img src="https://2847533834-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVy65sax6FVoNo2UTlJ0x%2Fuploads%2FtFoCeMw1jZI7iNXQcuLc%2Fimage.png?alt=media&#x26;token=30025828-02e3-4ccf-93bb-717723c5d4c5" alt=""><figcaption><p>Promote / demote controls</p></figcaption></figure>

### Item Previews

A full preview for any Sheet item (Variables, Assumptions, Metrics and Dashboards) can be seen by selecting that item in the Sheet preview. Editing the item from the Sheet preview will open a full editing wizard for that item, so you can make changes without needing to navigate away.
