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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | getBlogURL(blogId) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves a blog URL by blog ID.

Retrieves a blog URL by blog ID.

## Return Type

**Number**

## Example

```javascript
number blog = getBlog("PSCONF", "Some Blog", "2010-01-20");
string blogURL = getBlogURL(blog);
```

## See also

> Macro (contentbylabel)