Switch to a page
webflow.switchPage(page)
Switch the Designer to a specified page.
Syntax
Parameters
page : Page - The page to switch to.
Returns
Promise<null>
A Promise that resolves to null when the page switch is complete.
Example
Switching to a branch page
Branch pages are regular pages internally, so you can pass a branch page to switchPage() to navigate to a branch.
Use page.listBranches() to discover available branches and page.getParentPageId() to navigate back to the main page.
Designer Ability
Checks for authorization only