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> 913<br />

F32XR58<br />

Figure 32-58 Data View with Conditional Formatting in Internet Explorer<br />

Conditional formatting can also be used to control visibility. For instance, in our<br />

previous example we could have chosen to not display the name of the company if<br />

the City was San Francisco. The steps in accomplishing this are almost exactly the<br />

same as the steps previously outlined except instead of choosing Apply Formatting<br />

from the Create menu, we would choose Hide Content from the Create menu.<br />

Conditional formatting can apply to only one field at a time; thus, it is not possible<br />

to create a single criterion that will modify the style/visibility of two fields. To<br />

accomplish this, you have to create two criteria. You can, however, compose a single<br />

criterion of multiple predicates on different columns (such as underline the Company-<br />

Name when the City=San Francisco OR City=Walla Walla AND Country=USA).<br />

Data Views as Web Parts<br />

At its heart, the Data View is a Web Part. This means that in addition to all the<br />

formatting, grouping, sorting, filtering, <strong>and</strong> so on, it automatically leverages all the<br />

features of the Web Part Infrastructure available in Windows SharePoint Services.<br />

Specifically, this means the following:<br />

■ Data Views support personal <strong>and</strong> shared views (when inside a Web Part Zone),<br />

just like every other Web Part. This means that a user can make personalizations<br />

that are visible only to him; the user can also customize the shared view<br />

of the same Data View.<br />

■ Data Views support run-time customization by using a browser-based interface<br />

when inside a Web Part Zone.<br />

■ Data Views have the st<strong>and</strong>ard set of customizable properties shared by all Web<br />

Parts, such as Title, Height, Width, Frame State, <strong>and</strong> so on.<br />

■ Data Views support Web Part connection authoring, but they require<br />

FrontPage 2003 to create the connection string.

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

Saved successfully!

Ooh no, something went wrong!