---
title: "getHeaders"
canonical: "https://support.appfire.com/space/PSJ/15488024/getHeaders"
format: markdown
---
> Macro (aura-html)


> ℹ️ **Availability**
> ℹ️ 
> ℹ️ This function is available starting with
> ℹ️ 
> ℹ️ 1. **databasecf 2.1**
> ℹ️ 2. <span style="color: #091e42">**SIL Engine™**</span>** 2.0.3**

## Syntax

**<span style="color: #3366ff">getHeaders(tableField)</span>**

## Description

> Macro (excerpt)
> 
> Retrieves headers from a data table custom field.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| tableField | array | Yes | Value of the data table custom field |

## Return Type

**string[]**

## Example:

![image](media://d54b9b9f-030a-44de-8778-21805a3aaaea)

```
string[] headers = getHeaders(customfield_10000);
```

For the **Developers** custom field with the **customfield_10000 **id, the result returned by the above function call will be:   
**Username|Email|Full Name**.

# See also

- [getColumn](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487223)
- [getRow](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487253)
- [getTableElement](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481990)