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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 39: Using <strong>Microsoft</strong> Office InfoPath with SharePoint <strong>Products</strong> <strong>and</strong> <strong>Technologies</strong> 1051<br />

To modify field promotions for a library<br />

Field promotions are identified in the form template file named properties.xfp. You<br />

can modify the promoted fields in InfoPath design mode either at the time of template<br />

publishing using the Publishing Wizard, or at the template design time. To<br />

modify the field promotions at design time, perform the following steps:<br />

1. Open the form template in InfoPath design mode.<br />

2. On the Tools menu, select Form Options.<br />

3. Click the Form Library Columns tab. Using the Add, Remove, <strong>and</strong> Modify<br />

buttons, define the form fields to be promoted to the library columns.<br />

Clicking either the Add or the Modify button displays a dialog shown on<br />

Figure 39-7. It is the same dialog as the one used by the Publishing Wizard.<br />

From this dialog, you can select the fields to be promoted. If you select a<br />

repeating field, you need to specify how to treat the repeating entries. For<br />

example, you could choose plain text, merge, sum, average, <strong>and</strong> so on.<br />

4. Specify a column name to associate with the form field when it is displayed in<br />

the column in the form library, if you want the column name to be different<br />

from the name of the field.<br />

To create a new view<br />

Custom views allow a form library designer to create custom presentations of form<br />

data <strong>and</strong> their related content. With the aid of st<strong>and</strong>ard document properties <strong>and</strong><br />

promoted fields, these views allow designers to provide focused views that sort <strong>and</strong><br />

filter the data in a specific way. Custom views can be shared or personal. For example,<br />

in a library that stores expense reports, you can create a summary view that displays<br />

the summary of all expenses. To create a new view for a form library, perform<br />

the following steps:<br />

1. On the form library page, under Actions, click Modify settings <strong>and</strong> columns.<br />

2. In the View section, click Create a new view.<br />

3. Specify the type of view you want to create: St<strong>and</strong>ard, Datasheet, or<br />

Calendar.<br />

4. On the Create View page (Figure 39-10), under Name, type a name for a new<br />

view.

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

Saved successfully!

Ooh no, something went wrong!