Web applications may need to integrate with external websites. An application navigation menu option pointing to an external URL will be created if a page has its External Url property set to the URL of the resource. Application generator will not create a physical application page when External Url property is not blank.
Start the Project Designer. On the Project Explorer toolbar, click the New Page icon.
![New Page icon on the toolbar of Project Explorer. New Page icon on the toolbar of Project Explorer.](/blog/2012/07/external-url-for-page/image02.png)
Give this page the following settings:
Property | Value |
Name | CodeOnTime |
Index | 1005 |
External Url | http://codeontime.com/ |
Path | Code On Time |
Title | Code On Time |
Press OK to save the page. On the toolbar, press Browse.
The new page will show up in the navigation menu and site map.
![Code On Time navigation menu option is displayed. Code On Time navigation menu option is displayed.](/blog/2012/07/external-url-for-page/image04.png)
Clicking on the link will navigate to the External Url specified previously.
![Clicking on the menu item will navigate to the link. Clicking on the menu item will navigate to the link.](/blog/2012/07/external-url-for-page/image06.png)
Go back to the Project Designer. Drag the Code On Time page node onto Customers page node.
![Code On Time page node placed at the end of Customers. Code On Time page node placed at the end of Customers.](/blog/2012/07/external-url-for-page/image10.png)
Right-click on Customers / Code On Time page node, and select New Child Page.
![Create New Child Page for Code On Time page node Create New Child Page for Code On Time page node](/blog/2012/07/external-url-for-page/image12.png)
Proceed to create three child pages with the following properties:
The Project Explorer page configuration hierarchy should look like the picture below:
![Three new child pages added under Code On Time page node. Three new child pages added under Code On Time page node.](/blog/2012/07/external-url-for-page/image14.png)
Exit the Designer, select Settings option, and select Layouts. Change the menu presentation style to Advanced Two-Level.
![Change the menu presentation style to Advanced Two-Level. Change the menu presentation style to Advanced Two-Level.](/blog/2012/07/external-url-for-page/image16.png)
Press Finish, and then generate the web application.
Mouse over the Customers menu option. The advanced menu will open with the CodeOnTime and all child menu options visible.
![Code On Time and child pages displayed in the advanced two level menu. Code On Time and child pages displayed in the advanced two level menu.](/blog/2012/07/external-url-for-page/image18.png)
If you want the links to open in a new browser window, then change the External Url to start with “_blank:”.