# Easy reference to variables

The Easy reference to variables is a powerful feature in your app that allows to quickly access and insert available variables. This documentation explains how to use the Easy reference to variables and its current limitations.

### Accessing the Easy reference to variables

To access it:

1. Place your cursor in a supported field (supported field have a grey hover).
2. Press the "`/`" (forward slash) key on your keyboard.
3. A menu will appear, displaying a list of available variables in your app.

{% hint style="info" %}
In YouPrep, the menu is accessible through the blue button at the right of each input field.
{% endhint %}

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-4952e2b2cea7ad5ed8cd7fd85ae18ca832292c84%2FCapture%20d%E2%80%99e%CC%81cran%202024-12-05%20a%CC%80%2013.08.31.png?alt=media" alt=""><figcaption><p>Easy reference to variables - variables menu</p></figcaption></figure>

### Current Functionality

### Supported Fields

Easy Reference to variables is currently available in the dataHub following contexts:

* Datasource configuration fields of type (`string`, `json code editor)`
* Dataset configuration fields (`string`, `json code editor`, `code editor)`

### Unsupported Fields

At present, the Slash`/` Menu is not available for:

* `Integer` fields
* `Secret-type` fields

and not supported in the dataset configuration part.

{% hint style="info" %}
For secret-type, you can still use variables in them by entering the full variables syntax:\
\
example: `{{user.secrets.my_pwd}}`in the password field if you want to use a variable in this field
{% endhint %}

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-a13bef17166d3c9edef303cdd590edbe394ba309%2FCapture%20d%E2%80%99e%CC%81cran%202025-02-02%20a%CC%80%2012.44.52.png?alt=media" alt=""><figcaption><p>Easy reference to variable - json code editor</p></figcaption></figure>

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-62923fffb9ada032b753834bb46e710938a8ac49%2FCapture%20d%E2%80%99e%CC%81cran%202025-02-02%20a%CC%80%2012.45.14.png?alt=media" alt=""><figcaption><p>Easy reference to variable - input string</p></figcaption></figure>

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-470449098303f809ca4e68480c7d504763a4373c%2FCapture%20d%E2%80%99e%CC%81cran%202025-02-02%20a%CC%80%2012.47.37.png?alt=media" alt=""><figcaption><p>Easy reference to variable - YouPrep blue button</p></figcaption></figure>

### Benefits

* Quick access to available variables
* Reduces errors in manual entry
* Improves efficiency in configuration processes
