You can add pages to your site diagram in a number of ways. You can drag files from the Project Explorer into the site diagram or you can create new files directly in the site diagram. You can also drag files from other applications, such as Microsoft® Internet Explorer or Microsoft® FrontPage®.
After you have added pages to the site diagram, you can then arrange the pages to create hierarchical relationships. Navigation bars use these hierarchical relationships to determine which navigation links to include on the navigation bars for each page in the site diagram. For more information, see Designing Site Navigation and Arranging Pages in a Site Diagram.
Note Each .htm file can only appear once in a site diagram. Other files, such as .asp files, .gif files, and external pages, can appear multiple times in a site diagram.
To create new pages in the site diagram
-or-
Right-click the diagram, and then choose New HTML Page or New ASP Page from the shortcut menu.
A new page is added to the site diagram. You can then drag the page to position it in the diagram. The new page is given a default name. For more information about renaming a page in a site diagram, see Renaming Page Labels.
Each .htm file can only appear once in a site diagram, but .asp files can appear multiple times in site diagrams using different parameters. You can add files to site diagrams by dragging and dropping the files from the Project Explorer into the site diagram or with the Add Existing File command.
Use the Add Existing File command when you want to create a new instance of a file that already exists in your site diagrams. Use the drag and drop method when you do not want to create a new instance of a file but want to include a file in the current site diagram that already exists in another site diagram. If you attempt to drag in a file that already exists in the current site diagram, Site Designer highlights the existing file in the diagram but does not add the file again.
To add pages to a site diagram from a project
The Choose URL dialog box appears.
If the file you specify already exists in a site diagram, a message box appears. To add the existing instance, choose Yes. To create a new instance, choose No. If the file does not exist in any site diagram, Site Designer adds the file to the current diagram.
You can then drag the page to position it in the diagram.
To add pages from another application
If the file already exists in another site diagram, Site Designer will add the file and its navigation structure to the current diagram. If the file does not exist in any site diagram, Site Designer adds the file to the current diagram.
Note Each page you add to a site diagram from another application or project displays the External page icon. An external page cannot have child pages in a site diagram.