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.

1040 Part X: <strong>Microsoft</strong> Office 2003 Integration with SharePoint <strong>Products</strong> <strong>and</strong> <strong>Technologies</strong><br />

contain <strong>and</strong> organize the fields; the data source is made up of fields <strong>and</strong> groups. The<br />

controls on the form are bound to the fields <strong>and</strong> groups in the data source, <strong>and</strong> this<br />

binding allows data entered into a control to be saved. Information entered into a<br />

bound control is saved in the field it is associated with. InfoPath supports the following<br />

data sources: XML documents, Extensible Schema Definition (XSD) schemas,<br />

databases (<strong>Microsoft</strong> SQL Server or <strong>Microsoft</strong> Access), <strong>and</strong> XML Web services. When<br />

you design a form, InfoPath Data Source Setup Wizard prompts you to select the<br />

type of data source you want to use. Regardless of the type of data source you ultimately<br />

decide to use in your project, InfoPath reads the available metadata from the<br />

data source <strong>and</strong> displays it in the Data Source view, as shown in Figure 39-3. You<br />

can then drag data source fields onto the form as you are designing it, providing a<br />

binding between the data source fields <strong>and</strong> the form controls.<br />

F39XR03<br />

Figure 39-3 Form data source<br />

The programming environment for InfoPath is <strong>Microsoft</strong> Script Editor (MSE).<br />

<strong>Microsoft</strong> JScript <strong>and</strong> <strong>Microsoft</strong> Visual Basic Scripting Edition (VBScript) are the programming<br />

languages used in MSE to design custom business logic for a form.<br />

The InfoPath object model can be used to interact with the application, its<br />

forms, <strong>and</strong> data that the form contains. The object model also contains properties<br />

that can be used to return references to the XML Document Object Model (DOM).<br />

The DOM interacts with XML documents (or files) that are used in an InfoPath form,<br />

including the XML data that an InfoPath form produces.<br />

All form templates are composed of several individual form files. These files<br />

ensure that when users fill out a form based on a form template, it opens, displays,<br />

<strong>and</strong> functions properly. InfoPath form templates include the following files: form<br />

definition file (XSF), XML Schemas, XML templates, <strong>and</strong> view, presentation, script,<br />

<strong>and</strong> custom business logic files. Table 39-1 describes these files <strong>and</strong> lists their<br />

extensions.

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

Saved successfully!

Ooh no, something went wrong!