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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admSetPriorityScheme(pkey, schemeName) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | setPriorityScheme(pkey, schemeName) |

## Description

> Macro (excerpt)
> 
> Updates the project priority scheme.

Updates the project priority scheme. Both the scheme and the project must exist.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| pkey | string | Yes | Project key. |
| schemeName | string | Yes | Scheme name. The scheme must exist. |

## Return Type

**Boolean**

Returns 'true' if the project was updated and 'false' if not.

## Example

```
return admSetPriorityScheme("TEST", "Default priority scheme");
```

## See also

> Macro (contentbylabel)