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

■ Design mode is a WYSIWYG environment for developing form templates.<br />

Every form a user fills out is based on a form template, which is created in<br />

design mode. In design mode, you can view a form’s underlying XML Schema,<br />

drag controls onto a form, set data validation <strong>and</strong> conditional formatting, <strong>and</strong><br />

preview your forms to test their appearance <strong>and</strong> functionality. You can build a<br />

custom form from scratch or customize existing sample forms. Figure 39-2<br />

shows InfoPath in the design mode, with an open form template for the<br />

sample form.<br />

F39XR02<br />

Figure 39-2 InfoPath in the design mode<br />

To enable data capture that is optimized for end users, InfoPath provides flexible<br />

views of the abstract data structures of XML. This approach uses the XML paradigm<br />

of separating the data in a document from the formatting. These flexible views<br />

are based on Extensible Stylesheet Language Transformations (XSLTs), which enable<br />

the content of the editing views to be organized differently than the structure of the<br />

XML document. Views show the XML document as nested field groups containing<br />

text fields <strong>and</strong> other user interface (UI) controls. Within a form template, you can<br />

define multiple views for your form.<br />

When designing a form template, developers define many elements, including<br />

the form’s structure; the types of controls on a form; the form’s data validation rules;<br />

the views that define the layout of data; the default content of the form; <strong>and</strong> what<br />

users can <strong>and</strong> cannot modify when filling it out.<br />

In InfoPath, the collection of fields <strong>and</strong> groups that define <strong>and</strong> store the data<br />

for an InfoPath form is called a data source. Form fields contain data, <strong>and</strong> groups

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

Saved successfully!

Ooh no, something went wrong!