---
title: "BA_getBlitzAttribute"
canonical: "https://support.appfire.com/space/PSJC/1839236268/BA_getBlitzAttribute"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Actions add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | BA_getBlitzAttribute(name) | **Package** | poweraction |
| **Alias** |  | **Pkg Usage** | getBlitzAttribute(name) |

## Description

> Macro (excerpt)
> 
> Returns the value stored for the given attribute name or an empty string, if no value is stored for that name. The values are retrieved from the HTTP session, where they have been previously set using the BA_setBlitzAttribute function.

Returns the value stored for the given attribute name or an empty string, if no value is stored for that name. The values are retrieved from the HTTP session, where they have been previously set using the BA_setBlitzAttribute function.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| name | String | Yes | Attribute name. |

## Return Type

**String**

## Examples

### Example 1

```
return BA_getBlitzAttribute("userKey");
```

### Example 2

```
return BA_getBlitzAttribute("city");
```

## See also

> Macro (contentbylabel)