# Using variables in Content

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

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

Example using in Content the value from the session variable (with mid *variable1*) and the text field value (*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/qv6O7e9Dsxc0rXlOC2N9/31k_files/image2022-12-20_10-51-46.png)

{% hint style="info" %}
Demo application: demoTextContent
{% endhint %}
