Lab 4: Enabling Digital Signatures in InfoPath 2007 Form Templates

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 enable digital signatures in an InfoPath form so that users can sign the form in Microsoft Office InfoPath 2007 or in Internet Explorer. Discover how end-users will interact with the form in Internet Explorer to digitally sign the entire form or parts of it. (4 printed pages)

February 2007

**Applies to:**Microsoft Office InfoPath 2007

Contents

  • Lab Objectives

  • Lab Setup and Requirements

  • Scenario

  • Exercises

  • Conclusion

  • Additional Resources

Lab Objectives

In this lab, you will learn how to perform the following tasks:

  • Enable a Microsoft Office InfoPath 2007 form to be signed in a Web browser

  • Sign an InfoPath form in Microsoft Internet Explorer

Lab Setup and Requirements

To complete this lab, you must have the following items on the client computer:

  • A digital certificate with which to sign the form. You can obtain a 60-day trial Class 1 Digital ID from VeriSign. In this case, VeriSign is the certification authority.

  • Access to a Microsoft Office SharePoint Server site on a server that is running InfoPath Forms Services.

For the user’s certificate to be trusted, the certificate of the certification authority must be installed in the Trusted Root certificate folder on the server. When you use a VeriSign certificate, it is installed with Windows Server 2003. If you are using a different certification authority, install the certificate in the Trusted Root folder on the server.

NoteNote

You can use different Web browsers to open InfoPath forms from a server running InfoPath Forms Services; however, you can only use Internet Explorer to digitally sign InfoPath forms.

Scenario

The IT Department at Contoso Corporation has been asked to add support for digital signatures to the employee performance review form. Because many of the Contoso employees travel and work remotely, the forms must be available to be completed and signed in a Web browser.

Exercises

Creating and Signing the Form Template

You will first create a form template that can be signed, and then sign it with a digital certificate in Internet Explorer.

To create a form template that can be signed in Internet Explorer

  1. Start Office InfoPath 2007.

  2. In the Getting Started dialog box, click Design a Form Template.

  3. In the Design a Form Template dialog box, click the Form Template option, and then select Blank.

  4. Check the Enable browser-compatible features only check box, and then click OK.

  5. On the Design Tasks task pane, click the Controls link.

  6. On the Controls task pane, drag a section into the view.

    This will be the main section for your form.

  7. Drag controls into this section to customize the employee review form.

    When completed, your form should look similar to Figure 1.

    Figure 1. Creating an Employee Review form

    Example Employee Review Form

  8. Right-click the tab at the bottom of the main section labeled Section and select Section Properties.

  9. In the Section Properties dialog box, select the Digital Signatures tab.

  10. Select the Allow users to digitally sign this section check box.

  11. In the Sign the following data in the form when this section is signed list, select Add data that can be signed.

  12. In the Set of Signable Data dialog box, select the Allow only one signature option, and then click OK, as shown in the following Figure 2.

    Figure 2. Inserting the Digital Signature

    Using the Set of Signable Data Dialog Box

  13. On the File menu, click Save, and save the form to the computer desktop.

  14. On the File menu, click Publish.

  15. In the Publishing Wizard, select To a SharePoint server with or without InfoPath Forms Services, and then click Next.

  16. Type the URL of your SharePoint Server site, and click Next.

  17. Click the Document Library option, select the Enable this form to be filled out by using a browser option, and then click Next.

  18. Click the Create a new document library option, and click Next.

  19. In the Name text box, type EmployeeReview as the name for your document library, and then click Next.

  20. You are not promoting any properties in the form, so click Next to skip this screen. Then click Publish.

  21. Click the Open this form in a browser link.

    The form is displayed in an Internet Explorer window.

  22. Switch back to InfoPath and select the Open this document library check box.

  23. On the last page of the Publishing Wizard, click Close.

To digitally sign the InfoPath form in Internet Explorer

  1. Navigate to your form by entering the following URL. Replace <ServerName> with the name of your SharePoint server.

    http://<ServerName>/_layouts/FormServer.aspx?xsnlocation=http:// <ServerName>/EmployeeReview/forms/template.xsn&OpenIn=browser

    NoteNote

    If you publish to a SharePoint Server site, include the site name in the URL after <ServerName>. For example, http://<ServerName>/Sites/<SiteName>/_layouts/FormServer.aspx?xsnlocation=http://<ServerName>/Sites/<SiteName>/EmployeeReview/forms/template.xsn&OpenIn=browser.

  2. Click the Click here to sign this section link at the bottom of the form.

    A License Agreement dialog box appears.

  3. Select the I accept check box, and click Next.

  4. Click Install to install the digital signature control software.

  5. Fill out the Signing Web page dialog box, and click Sign when you are finished.

    To enable the I have verified this content before signing check box, you must select the digital certificate that you obtained from the certificate authority.

  6. The signature is now visible on the form.

Conclusion

In these exercises, you learned how to modify an InfoPath form to be signed in an Internet Explorer browser window. You saw how users can interact with the form in Internet Explorer to digitally sign it.

To learn how to convert existing Microsoft Word documents into InfoPath forms to take advantage of the InfoPath form design and form-filling features, see Lab 5: Importing Word Forms into InfoPath 2007.

Additional Resources

For more information about developing with InfoPath, see the following resources: