16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 32: Using <strong>Microsoft</strong> Office FrontPage 2003 to Customize SharePoint <strong>Products</strong> 921<br />

If you don’t care about trying to mimic the LVWP, create the DVWP from<br />

scratch by choosing Show Data on the context menu of a SharePoint list in the Data<br />

Source Catalog. Select the specific fields that you want to insert, <strong>and</strong> click Insert Data<br />

View. Doing this will cause less XSLT to be generated, <strong>and</strong> then you can build your<br />

links <strong>and</strong> formatting using the table <strong>and</strong> other formatting tools in FrontPage 2003.<br />

In the following example, we will actually convert the Links LVWP into a<br />

DVWP <strong>and</strong> leverage Data View–specific features to create a customized presentation.<br />

To follow along with this example, we suggest that you add a few links to the<br />

default Links Web Part.<br />

Again, we will add a new page to the root directory of the FrontPage 2003<br />

project. This time we’ll name it Links.aspx.<br />

To convert the Links LVWP into a DVWP<br />

F32XR65<br />

1. From within FrontPage 2003, open the empty page Links.aspx in Design mode.<br />

Hover the cursor over the Insert option on the Table menu. On the resulting<br />

flyout menu, click the Table option. Accept all the defaults, <strong>and</strong> click the OK<br />

button to insert the table.<br />

2. Position the cursor in the first cell. Click Insert Web Part Zone from the Data<br />

menu to create Zone 1. This will contain the “before” view.<br />

3. Position the cursor in the first cell of the second row. Click Insert Web Part<br />

Zone from the Data menu to create Zone 2. This will contain the “after” view.<br />

4. Click the Click to insert a Web Part link in Zone 1 to open the Web Parts<br />

task pane. (See Figure 32-65.)<br />

Figure 32-65 Web Parts task pane

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!