page.setDescription(description)

Set the description of the page.

Syntax

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

Parameters

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

Returns

Promise<null>

A promise that resolves to null.

Example

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

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canManagePageSettingsAnyAnyAnyAny
Built with