Set page description

page.setDescription(description)

Set the description of the page.

Syntax

page.setDescription(description: string | null): Promise<null>

Parameters

  • description: string | null - The new description of the page.

Returns

Promise<null>

A promise that resolves to null.

Example

// Get Current Page
const currentPage = await webflow.getCurrentPage() as Page
// Set page Description
await currentPage.setDescription("My New Description")
console.log(pageDescription)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canManagePageSettingsAnyAnyAnyAny