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


## Description

> Macro (excerpt)
> 
> Gets all the filters matching a name.

Gets all the filters matching a name.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetFiltersByName(name) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use adm; filtersByName(name);] |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| name | string | Yes | The name |

## Return Type

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

## Example

```javascript
JFilter [] filters = admGetFiltersByName("importantfilter");
```

Gets all the filters with that name, partial match

## See also

> Macro (contentbylabel)