|
|
In InfoPath, you can create different views of your form data as needed for your workflow. These views can be based on some or all of your original form data. Additional views can be used to show different information or different information layouts to different workflow participants. For example, you can create views with:
Creating a Form View
To create a different view of your form data when creating an .SVP workflow file:
To use elements from your default form view (such as fields or headers), select the desired elements and on the Edit menu click Copy.
The Add View dialog box appears.
For example, if you are creating a form view that is for management use only, you could name it ManagerView.
NOTE: It is a good idea to use names that contain only alphanumeric characters and underscores. Avoid using spaces and non-alphanumeric characters.
If you are copying elements from the default form view, place the cursor in the empty form and on the Edit menu click Paste.
Repeat steps 2-8 to create as many form views as desired.
All of the form views are copied to the Form Workflow site.
Deleting or Creating Views in a Workflow Solution (Solution Mode)
InfoPath views should be deleted or created only in Designer. If a view is created or deleted only in InfoPath, the change is not reflected in the Solution.
To create a view in Designer
Specifying a Form View in a Workflow
To specify a particular form view, the view must be specified on a task node (either an Approval or Activity node, or
Notification node, if IncludeItem is enabled) in your
workflow. If you do not specify a different view, the default view will be used.
To specify a different form view:
Special Winshuttle Designer Form Views
Views with the following four names have special meaning in Winshuttle Designer:
NOTE: Correct upper and lower case spelling of the view name is required.
Rules for System View Selection
The following are the rules for how the system determines which form view to use:
In all of the above rules, further view discrimination can be driven by SharePoint groups in which a user resides. If a view name includes the name of a SharePoint group, in which the user is a member, that view will be used. For example, if a user is in the Managers group and there is a view named DesignerPreProcessView-Managers, then that view will be used. For those users not in the Managers group, the DesignerPreProcessView will be used.
See Also Adding Winshuttle Designer Custom Controls to InfoPath Promoting InfoPath Form Fields to SharePoint Exporting InfoPath Form Fields as SharePoint Columns |