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


## Description

> Macro (excerpt)
> 
> Gets all the filters matching a project in the share list.

Gets all the filters matching a project in the share list.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetFiltersForProject(projectKey) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use adm; filtersForProject(projectKey);] |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| projectKey | string | Yes | The key of the project |

## Return Type

**[JFilter []](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

## Example

```javascript
JFilter [] filters = admGetFiltersForProject("TEST");
```

Gets all the filters for that project key

## See also

> Macro (contentbylabel)