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.

904 Part IX: Maintaining a Server in Windows SharePoint Services<br />

FrontPage<br />

OLEDB<br />

Database<br />

F32XR49<br />

Figure 32-49 Windows SharePoint Services Data Retrieval Service<br />

A key feature of the Data View is that it provides WYSIWYG authoring of XSLT<br />

to produce formatted views of data. The visual editor produces XSLT code that is<br />

inserted directly into the HTML of your page. Once inserted on your page, you can<br />

use any WYSIWYG formatting tools from within the Data View in FrontPage 2003,<br />

such as adding table columns with certain font formatting, <strong>and</strong> FrontPage 2003 will<br />

generate the new XSLT on the fly. You can also change or add to the XSLT in the<br />

Code view of the FrontPage 2003 editor.<br />

Because of the Data Retrieval Services Web service architecture, live data is<br />

available at authoring time. Furthermore, data is available as XML regardless of how<br />

it is stored at the data source.<br />

Data Views can be connected to build rich pages that combine data from multiple<br />

sources, provide rich views on top of hierarchical data (such as master-detail),<br />

or both.<br />

Adding a Data View<br />

XSLT<br />

XML<br />

InfoPath<br />

Word<br />

Excel<br />

Etc.<br />

Windows<br />

SharePoint<br />

Services<br />

Data Retrieval<br />

Service<br />

SharePoint<br />

List<br />

Library<br />

Add a new page to the root directory of the FrontPage 2003 Folder List, <strong>and</strong> name<br />

it DataView.aspx. We will use this empty page in the next several sections.<br />

We start interacting with a Data View on a Web page by selecting the desired<br />

data source from the Data Source Catalog task pane. The Data Source Catalog is<br />

described in detail in a previous section of this chapter.<br />

Inserting Data View into the Page<br />

Web<br />

Service<br />

To add a Data View to your Web page, follow these steps:<br />

Browser<br />

XML File<br />

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

mode. Click Insert Web Part Zone from the Data menu to create Zone 1 at<br />

the top of the empty page.

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

Saved successfully!

Ooh no, something went wrong!