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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admGetSpaceHomePage(spaceKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> The routine receives the key of a space as parameter.

The routine receives the key of a space as parameter.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | spaceKey | String | Yes | The key of the Confluence space to retrieve the home page for. |

## Return Type

**Number**

## Example

```javascript
return admGetSpaceHomePage("PP");
```

Retrieves the home page for Space with key "PP"

## See also

> Macro (contentbylabel)