page.setSearchDescription(description)

Set the search description of the page.

Syntax

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

Parameters

  • description: string - The search description to set.

Returns

Promise<null>

A Promise that resolves to null.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Set search engine description and print details
5await currentPage.setSearchDescription("My New Description")
6const searchDescription = await currentPage.getSearchDescription()
7console.log(searchDescription)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canManagePageSettingsAnyAnyAnyAny
Built with