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

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

## Description

> Macro (excerpt)
> 
> Retrieves a newest blog ID for space, by space key.

Retrieves a newest blog ID for space, by space key.

## Return Type

**Number**

## Example

```javascript
number blog = getNewestBlog("PSCONF");
print("Return " + blog);
```

Print Return 323827648

## See also

> Macro (contentbylabel)