> 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-textcontent/wykorzystanie-zmiennych-w-tresciach.md).

# Using variables in Content

Artifact **Content (Text Content)** provides for the use of variables. To use variables, in **Content** we enter the variable name enclosed in `${}` , e.g. `${nowaZmienna}`

The variable name should match the value of the component id, or the mid of the session variable defined in the application template, which we refer to in **Content**.

An example using in Content the value from the session variable (with mid *zmienna1*) and the value of the text field (*GesTextField1*):

![Figure 1. Example of Content with a reference to the value of a session variable and a text field](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/8LYWoKJAZsEekPQoasuC/31k_files/image2022-12-20_10-51-46.png)

{% hint style="info" %}
Demo application: demoTextContent
{% 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-textcontent/wykorzystanie-zmiennych-w-tresciach.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.
