> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: getAppPageUrl(pageId: string) # Method package: wixApplication # Method menu location: wixApplication --> getAppPageUrl # Method Link: https://dev.wix.com/docs/velo/velo-only-apis/wix-application/get-app-page-url.md # Method Description: Gets the URL of the new page that was added by a Blocks app, when installed on a site. The `getAppPageUrl()` function returns a Promise that resolves to a string with a URL of the new page that was added by a Blocks app, when a widget is installed on a site as a new page. Learn more about [app and widget installation settings](https://support.wix.com/en/article/wix-blocks-app-and-widget-installation-settings). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Retrieve the new page's URL and go to that page ```javascript import wixApplication from 'wix-application'; import wixLocation from 'wix-location'; //... wixApplication.getAppPageUrl('Page ID') .then((url) => { if (url) { wixLocation.to(url); } else { console.log("Page doesn't exist"); return; } }) .catch((error) => { console.error(error); // Handle the error }); ``` ---