> For the complete documentation index, see [llms.txt](https://docs.eximee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-formatowana-zwijana-rollabletextcontent.md).

# Formatted content (collapsible) - RollableTextContent

{% hint style="info" %}
Availability of the functionality depends on the license and may not be available in all deployments.
{% endhint %}

Component used to display an artifact **Content** with an expand/collapse option (used e.g. to display a legal notice).

![](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/oHPqW3opFxxnWRSP018U/9_files/image2025-5-16_12-44-19.png)

## Component properties

| Eximee Designer property                                      | Attribute name in Source | Description                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------- | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Content** (section **Basic properties**)                    | -                        | Artifact **Content** displayed in the component. Selecting an artifact sets in the section **Interactions** external data source *TextContentService*. The selection method is described in the section [Attaching a content source in the component](#podpiecie-w-komponencie-zrodla-tresci). |
| **Field height** (section **Basic properties**)               | contentHeight            | Component height (default set to 200). If the entire text does not fit in the component, a vertical scroll bar is inserted. Availability of the functionality depends on the license and may not be available in all deployments.                                                              |
| **Field title** (section **Basic properties**)                | contentTitle             | Title displayed at the top of the component (empty by default). Clicking the title collapses/expands the component content.                                                                                                                                                                    |
| **Field content presentation** (section **Basic properties**) | contentDefaultVisible    | Displaying the component content (by default the property is selected - value set to "true"). If the property is deselected (value "false"), the component content is collapsed, and it will be shown after clicking the expand arrow or the component title.                                  |

> More information about component properties: [Common component properties](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/praca-z-komponentami-bazowymi/wspolne-wlasciwosci-komponentow.md)

If in the inserted artifact **Content** the expression was used **/more/**, a "Show more" button will be displayed in the component at this place (clicking it will display the hidden part of the content).

## Attaching a content source in the component

To display content in the component, you need to specify the artifact created earlier **Content** (artifact creation was described in: [Creating and attaching the Content artifact](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/tworzenie-i-podpiecie-artefaktu-tresc.md)).

{% stepper %}
{% step %}

#### Open the content panel

Select the component **Formatted content (collapsible)** and in the panel **Properties** in the field **CONTENT** choose the option **Edit content**. A panel will open with a message indicating that no artifact is selected.
{% endstep %}

{% step %}

#### Choose artifact and version

In the panel header, in the field **Choose artifact** choose an artifact **Content**. Selecting an artifact sets its latest version. To specify another version, select it in the field **Version**.
{% endstep %}
{% endstepper %}

Selecting an artifact sets in the section **Interactions** external data source *TextContentService* together with the input parameter and output mapping, so you do not have to configure the service manually. The component preview on the request page in Designer shows the selected content. Removing the artifact in the field **CONTENT** also removes this data source.

You edit the content the same way as in the component **Formatted content**, as described in [Attaching and editing Content from the request level](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/podpiecie-i-edycja-tresci-z-poziomu-wniosku.md).

![Figure 1. Example appearance of the component on the request (content collapsed)](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/F5duYVMIx18fNWTtjb0K/9_files/image2025-5-16_12-45-12.png)

![Figure 2. Example appearance of the component on the request (content expanded)](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/ZzOtKxDOOCL71yyvf6Bg/9_files/image2025-5-16_12-46-31.png)

{% hint style="info" %}
Demo request: demoRollableTextContent
{% endhint %}

{% hint style="info" %}
♿WCAG: [WCAG best practices for low-code dev](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/proces-biznesowy/tworzenie-procesu-biznesowego-w-bpmn-2.0/dobre-praktyki.md)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-formatowana-zwijana-rollabletextcontent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
