# Data Attributes

Data attributes let you re-use and [pipe](https://docs.ngsurvey.com/form-management/form-designer/piping/text-data-piping) 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;

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBJFgQbMJ4DpRdmVtwt%2F-MBJWq7lIb0qn3YlpCc-%2Fimage.png?alt=media\&token=87e08ca2-0f75-42c6-accd-62f35b45f3c9)

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](https://docs.ngsurvey.com/form-management/security/security-items/sql-security) 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](https://docs.ngsurvey.com/form-management/security/security-items/invitation-code) security item which offers Email, UId and Phone numbers of the invited respondents. &#x20;

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBJFgQbMJ4DpRdmVtwt%2F-MBJYk0F4C30NOn_CzIn%2Fimage.png?alt=media\&token=bb784073-07ae-4b44-b40f-4f2c840ed61a)

The **data pipe prefix** is like an id that will let you reference the security item in your survey for [piping](https://docs.ngsurvey.com/form-management/form-designer/piping/text-data-piping) 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](https://docs.ngsurvey.com/form-management/security/security-items/invitation-code) security item.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBJFgQbMJ4DpRdmVtwt%2F-MBJaddxkLKHPbjAjHan%2Fimage.png?alt=media\&token=b01bcec8-c55a-4c84-8f70-20e95acc4800)

{% 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 %}
