Lab 6: Using InfoPath 2007 E-mail Forms
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Learn how to use InfoPath e-mail forms to deploy, collect, and analyze information. You will also learn how to use property promotion to group and sort information in Outlook folders, and how to use form information for more detailed analysis. (5 printed pages)
February 2007
**Applies to:**Microsoft Office InfoPath 2007
Contents
Lab Objectives
Lab Setup and Requirements
Scenario
Exercises
Conclusion
Additional Resources
Download: InfoPath 2007 Sample: Training Labs.
In this lab, you will learn how to perform the following tasks:
Deploy a form from Microsoft Office InfoPath 2007 as an e-mail form.
Complete a form that is sent to your e-mail Inbox.
Submit the form to the IT department.
Create a form folder in Outlook and move the form to the new folder.
Enable property promotion on the folder.
Create and submit a new form.
Export the form to Microsoft Office Excel for analysis.
To complete this lab, you must have the following Office applications installed:
Microsoft Office InfoPath 2007
Microsoft Office Outlook 2007
Microsoft Office Excel 2007
Outlook should be set up to run in cached mode against a Microsoft Exchange server or with a local Personal Folders File (.pst).
The IT department at Contoso Corporation has been asked to update the asset inventory. To ensure compliance, all personnel are required to report their current corporate computer assets back to the IT department for auditing and tracking purposes. You will use InfoPath e-mail forms for simple data collection.
In the following exercises, you will deploy an Asset Tracking form via e-mail.
Start InfoPath.
In the Getting Started dialog box, click Design a Form Template.
In the Design a Form Template dialog box, click On My Computer.
Select AssetTracking.xsn in the C:\2007 Office System Developer Resources\Code Samples\InfoPath2007SampleTrainingLabs folder, and then click OK.
Click Publish Form Template in the Design Tasks task pane.
In the Publishing Wizard, click To a list of e-mail recipients, and click Next.
Click Next.
Click Add.
Under the assets group, expand asset, and then select make.
Select merge in the Function drop-down list.
Click OK.
Repeat steps 8 through 11 to add the model, serialNumber, and category fields.
Figure 1 shows the completed Column list.
Figure 1. Promoting columns
Click Next.
Click Publish.
In the To line, type the recipient's e-mail address. For this exercise, use your e-mail address.
Click Send.
On the File menu, click Exit InfoPath.
Start Office Outlook 2007.
In the Inbox, select the item with the subject InfoPath form: AssetTracking.
In the reading pane, click Open form at the top of the message.
Click Yes when prompted with the Microsoft Office InfoPath Security Notice.
Type the following information in the form:
Company: Contoso
Department: Research
Make: Toshiba
Model: Portege M200
Serial Number: 728384
Owner: Mindy Martin
Asset Category: Computer Hardware
Location: H3442
On the File menu, click Save.
On the File menu, click Close.
In the InfoPath Form Folders dialog box, click Close.
![]() |
---|
You can click Create Form Folder in the Infopath Form Folders dialog box, as shown in Figure 2. This will automatically perform the steps in the exercises "To create a form folder and move the form to it" and "To enable property promotion on the InfoPath form folder to display items from each form in the message list" located later in this section. |
Figure 2. Creating a form folder in Outlook
In the Inbox, select the item with the subject, InfoPath form: AssetTracking.
In the reading pane, click Open form.
In the toolbar, click Submit.
Click Send, and then click OK.
On the File menu, click Save.
On the File menu, click Close.
The following exercises are automatically performed when you click Create Form Folder in the InfoPath Form Folders dialog box.
In Outlook, on the File menu, select New, and then click Folder.
In the Create New Folder dialog box, type Asset Tracking in the Name field.
In the Folder contains drop-down list, select InfoPath Form Items, as shown in Figure 3.
Figure 3. Creating a new folder in Outlook
Click OK.
In the Inbox, select the item with the subject InfoPath form: AssetTracking.
Drag the item to the Asset Tracking folder.
Right-click the Asset Tracking folder in Outlook, and click Promote Form Properties.
In the Asset Tracking Properties dialog box, click Select Form, as shown in Figure 4.
Figure 4. Selecting a form in the Asset Tracking Properties dialog box
In the Choose InfoPath Form dialog box, select the AssetTracking form, and click Select form.
Select the Promote form properties and Display the data as columns in a new view check box.
Note
If the check box is disabled, you are not using Outlook in cached Exchange mode or with a local Personal Folders File (.pst), and properties cannot be promoted.
Click OK.
On the File menu, select New, and then click Choose InfoPath Form near the bottom of the menu.
In the Choose InfoPath Form dialog box, select the AssetTracking form from the Recently Used Forms category, and then click Open form.
Fill in the following information in the form:
Company: Contoso
Department: Research
Make: Compaq
Model: Evo D500DT
Serial Number: 567821
Owner: Soumya Singhi
Category: Computer Hardware
Location: H1803
On the toolbar, click Submit.
Complete the recipient information.
Click Send, and then click OK.
On the File menu, click Save.
In the Save dialog box, enter a name for the form, and then click OK.
On the File menu, click Close.
In the Asset Tracking folder, select both forms by holding the CTRL key and clicking both forms.
In Outlook, on the Actions menu, click Export Forms to Excel.
In these exercises you learned how to deploy and complete InfoPath e-mail forms. You also learned how to take advantage of the InfoPath form folder capabilities in Outlook to promote data and analyze data from the forms. By using these concepts, you can make rich use of InfoPath forms through e-mail and also offline.
In Lab 7: Restricting Permissions to InfoPath 2007 Forms and Form Templates, you learn how to restrict permissions to a form and a form template by applying user rights.
For more information about developing with InfoPath, see the following resources: