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


## Description

> Macro (excerpt)
> 
> The screens, filtered by name

Returns an array of screens filtered by name. If name is null, all screens are returned

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetScreensByName(partName) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use adm;
screensByName(partName);] |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| partName | string | Yes | The partial match string. Filtering is done on Jira side |

## Return Type

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

## Example

```javascript
JScreen [] screens = admGetScreensByName("Demo");
```

Returns the JScreen objects matching 'Demo' in the name 

## See also

> Macro (contentbylabel)