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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | getLastComment(pageId) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets all the comment properties for the last page comment.

Gets all the comment properties for the last page comment.

## Return Type

**[CComment](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)**

The comment representation with the following keys:

## Example

```javascript
CComment [] lastComm = getLastComment(11801);
print("Got comment:" + lastComm.text);
```

## See also

> Macro (contentbylabel)