# GETPAGES

#### Syntax

**GETPAGES**()

The function returns an area in which the pages of the current navigation tree are stored per line. The columns contain the following information:

* Level - ***Value type**: text*
* Technical name of the page - ***Value type**: text*
* Display name of the page - ***Value type**: text*
* Visibility - ***Value type**: boolean*

Remarks

* The pages are returned in the same order as they are listed in the navigation tab.
* If a page does not have a display name, column 3 contains the technical name instead.

#### Example

The GETPAGES function returns the pages listed on the left in the navigation tab:

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-f86745d2eefb27d15d2aa5e44f59b5fd5b06eff4%2Fgrafik%20(21).png?alt=media" alt=""><figcaption></figcaption></figure>
