---
title: "createGroup"
canonical: "https://support.appfire.com/space/PSCONF/1460797471/createGroup"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | createGroup(groupName) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Create a group.

Create a group.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | groupName | String | Yes | The name of a group to be created. |

## Return Type

**Boolean (true/false)**

Returns true if a certain group was successfully created.

## Example

Create a group.

```javascript
createGroup("creative-users");
```

> ⚠️ If the routine returns false, it doesn't mean that a group wasn't created. It just means that the group already exists.

## See also

> Macro (contentbylabel)