# Data Attributes

Data attributes let you re-use and [pipe](/form-management/form-designer/piping/text-data-piping.md) values that were gathered or generated by the security items. You may access the data attributes of security item by clicking on the data attributes access button.&#x20;

![](/files/-MBJWq7lIb0qn3YlpCc-)

Data attributes are unique to each security item and depends on what data this security item makes available for re-use.&#x20;

{% hint style="info" %}
Some security items like the [SQL Security](/form-management/security/security-items/sql-security.md) are generated their data attributes dynamically based on their properties.&#x20;
{% endhint %}

## &#x20;📝 Data attributes piping

In the example below you can see the [invitation code](/form-management/security/security-items/invitation-code.md) security item which offers Email, UId and Phone numbers of the invited respondents. &#x20;

![](/files/-MBJYk0F4C30NOn_CzIn)

The **data pipe prefix** is like an id that will let you reference the security item in your survey for [piping](/form-management/form-designer/piping/text-data-piping.md) its values. You also need to set a **pipe tag** to pipe in the value inside our survey, once you have setup both the data prefix and pipe alias you can pipe in the data attribute anywhere in your survey using following notation&#x20;

```
__DataPipePrefix:pipetag__
```

{% hint style="info" %}
🧙 As a shortcut you may also use and pipe the data attributes without setting their data pipe prefix and pipe tag using following notation : \_\_dataattributeid\_\_&#x20;

Note that in order to use the shortcut notation you need to set the Save with respondent on the attributes  you wish to pipe to make them available to survey.
{% endhint %}

Based on our invitation code above we could use **EmailSecurity:email** in one of our questions texts to pipe dynamically at runtime while the respondent is taking the survey the value generated by the [invitation code](/form-management/security/security-items/invitation-code.md) security item.

![](/files/-MBJaddxkLKHPbjAjHan)

{% hint style="info" %}
You can use the pipe icon anywhere in the designer to look up pipe tags from your security items data attributes.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/form-management/security/data-attributes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
