Get page description

page.getDescription()

Get the description of the page.

Syntax

page.getDescription(): Promise<null | string>

Returns

Promise<null | string>

A promise that resolves to the description of the page.

Example

// Get Current Page
const currentPage = await webflow.getCurrentPage() as Page
// Get page Description
const pageDescription = await currentPage.getDescription()
console.log(pageDescription)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadPageSettingsAnyAnyAnyAny