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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admSetProjectCategory(pkey, categoryName) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | setProjectCategory(pkey, categoryName) |

## Description

> Macro (excerpt)
> 
> Set project category to the project.

Set project category to the project.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| pkey | String | Yes | Project key. |
| categoryName | String | Yes | Project category name. |

## Return Type

**Boolean (true/false)**

Returns true if the category was set to the project and false otherwise.

## Example

```
admSetProjectCategory("T3", "Thunderbolt3");
```

## See also

> Macro (contentbylabel)