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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetNotificationSchemeByName(notificationSchemeName) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | notifSchemeByName(notificationSchemeName) |

## Description

> Macro (excerpt)
> 
> Retrieves a breakdown of events and notifications for a provided notification scheme.

Retrieves a breakdown of events and notifications for a provided notification scheme.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| notificationSchemeName | string | Yes | The name of the notification scheme. |

## Return Type

**[JGeneric []](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)**

Returns an array of key/value pair representations of a notification scheme, where the key is the event name that triggers the notification and the value is a pipe (|) delimited list notification events. If the notification has a designated parameter associated to the notification, then the parameter will be added to the end of the notification type separated by a dash.

## Example

```
string notificationSchemeName = "Default Notification Scheme";
JGeneric [] notifications = admGetNotificationSchemeByName(notificationSchemeName);
return notifications;
```

## See also

> Macro (contentbylabel)