One of SharePoint's true strengths is the capability to extensively customize virtually all aspects of a SharePoint site from within SharePoint's web interface. However, you have even more options for customizing your SharePoint sites using Microsoft FrontPage 2003. Although the possibilities of SharePoint combined with FrontPage 2003 are virtually limitless, we will focus on how to use FrontPage to extend the SharePoint interface and overcome a few speed bumps you may encounter from following some of the customizations included in the chapter. For example, you may have noticed that after you have created a custom web part page, there isn't any way to place a shortcut to that web part page on the Companyweb main page. The best you can do is place a shortcut to the document library that that web part page lives in, or add it to a Links web part on the main page as well, which isn't exactly an ideal solution. But you can put a direct link to that web part page on the Companyweb main page using FrontPage 2003. Open FrontPage 2003 and select File, Open Site. In the Site Name field, enter http://companyweb and click Open. The site opens, and you can see all the individual pages and directories that make up your Companyweb site. Double-click on default.aspx to open the Companyweb main page. From here, you can easily add additional links to either the QuickLaunch bar on the right side of the page, or even the SharePoint header bar at the top of the page. After you've added your new link, simply save the page, and your changes will be visible on the Companyweb home page. Besides adding links to the main page, you can further customize your web part pages. Depending on the layout you chose when you created your custom web part page, you may have noticed that different web part zones on the page had different orientationsfor example, some zones organized web parts vertically, whereas others organized web parts horizontally. If you have a web part page where you don't like the orientation of the zones, you can easily change that within FrontPage. With your Companyweb site open in FrontPage, open your web part page (in the folder list, expand the document library where your web part page lives, and double-click on the web part page). Find a web part in the zone whose orientation you want to change and right-click on the web part. In the context menu that appears, select Web Part Zone Properties. On the dialog box that opens, you can specify that the layout for that zone be either horizontal or vertical. Click OK to close the dialog box; then save your web part page. When it comes to creating web part pages, many people would prefer not to just create a top-level web part page without having to store it in a document library. Although creating a web part page in the SharePoint web interface requires that the page be stored in a document library, you can easily create a top-level web part page in FrontPage without having to store it in a document library. To do so, in FrontPage simply select File, New, which opens the Activity pane on the right side of the FrontPage window. From the Activity pane, click More Page Templates, go to the Web Part Pages tab, and select the layout you want for your new page. After you've created the new web part page, you can add web parts and further customize your page within FrontPage. Note that because this is a top-level web part page, you need to place a link to this page somewhere on your Companyweb, or you will only be able to access this page by entering its direct URL. One of the most exciting things you can do with FrontPage 2003 and SharePoint is to convert your normal web parts to Data View web parts and establish data connections between web parts. What exactly does that mean? Take the project documents you've been using throughout this chapter, where you have a document library that stores all your project documents and a SharePoint list that stores your project information. Let's say that you also have a SharePoint list that stores your customer information and a contact list that stores customer contacts. You're using lookup fields in the projects and contacts lists to look up customers from the customers list, and a lookup field in the document library to look up projects. This allows you to select the customer that each contact and project is related to, and to select the project that each document is related to. How can you filter and view all this data in a coherent and efficient manner? Wouldn't it be great if you could select a customer from a list and automatically see all the contacts and projects that relate to that customer? Well with SharePoint and FrontPage 2003, you can! The following steps allow you to create this functionality with a custom web part page:
After you've finished the preceding steps, you can open your web part page in SharePoint. When you do, you will notice that the first customer in your customer web part is selected. As a result, the Contacts web part shows only contacts for that customer, and the Projects web part shows only projects for that customer. Additionally, the first project in the web part is selected by default, so the Documents web part only shows documents for that project. You can select a different project to view related documents, or select a different customer, which updates the Contacts, Projects, and Documents web parts accordingly. In little time, you were able to create a custom dashboard for your specific needs, which represents the great value that SharePoint offers. |