There are several basic steps to designing a Microsoft Office InfoPath 2007 form for use with a Microsoft Office SharePoint Server 2007 workflow:
-
Design your form, as you would any other Office InfoPath 2007 form.
For information about designing InfoPath forms, see the Office InfoPath 2007 developer documentation.
-
Data-bind the controls on your form, so that your form can receive data from and send data to Office SharePoint Server 2007 and the workflow instance.
For information about data-binding workflow association and initiation forms, see How to: Design a Workflow Form to Use Association and Initiation Data.
For information on data-binding workflow task edit forms, see How to: Design a Workflow Task Form to Use Task Data.
-
Add and configure a button that submits your form data to Office SharePoint Server 2007.
-
Set the form's security level to Domain.
-
Publish the form.
To design a form that submits data to Office SharePoint Server 2007
-
In Office InfoPath 2007, drop a button onto your form.
-
Right-click the button, and then select Button Properties.
-
In the Button Properties dialog box, on the General tab, click Rules, and then click Add.
-
Click Add Action, click Submit Data Connection, and then click Add.
-
In the Data Connection Wizard, select Create a new connection to and submit data, and then click Next.
-
Select To the hosting environment, click Next, and then click Finish.
-
Add another rule: In the Rules dialog box, click Add, and then click Add Action.
-
In the list of predefined actions, select Close the Form.
-
Click OK.
For information about configuring data connections for InfoPath forms, see the Office InfoPath 2007 help.
To create a form that runs in a Web browser and Office system client applications
-
In Office InfoPath 2007, in Design Checker, select Compatibility.
-
In the Forms Options dialog box, with the Compatibility category selected, select Design a form that runs in a Web browser and in InfoPath.
-
Click OK.
To publish an InfoPath form for an Office system workflow in SharePoint Server
-
In Office InfoPath 2007, on the File menu, click Publish.
-
In the Publishing Wizard, select network location, browse to the location to which you want to publish the forms, and then click Next.
Note: |
|---|
|
Do not specify an alternative path to the form. Doing so causes an error that prevents you from publishing the form to the server.
|
-
Click Next, and then click Finish.
See Also