You are here: Getting Started > Tutorials > Tutorial 3: Building advanced forms and workflows > T3-6. Create Manager and HR form views

Tutorial 3–Step 6: Create Manager and HR form views

In this exercise you will create multiple form views so different workflow participants (in this case, a Manager and Human Resources) will only to see the parts of the form they require.

Create the Manager view

  1. In Winshuttle Designer, open the Time Off Request form created in Tutorial 1.
  2. In the Solution Tree Window, right-click Form Views and then click New.

  3. In the Properties Pane, under Form View, click the Name Property, and then rename it Manager View.

Now that you've created a view for Managers, you will create a view for Human Resources (HR).

Create the Human Resources (HR) view

Back to top

  1. In the Solution Tree Window, click View 1.
  2. In the Properties Pane, under Form View, click the drop arrow, and then select ShareVisPreProcessView.

  3. On the toolbar, click Save to save your changes.
  4. On the toolbar, click the Launch InfoPath icon.
  5. On the ShareVisPreProcessView, press Ctrl + A (select all).

    NOTE: Do Not copy the Winshuttle View Info Custom Control (pictured below).

  6. Press Ctrl + C to copy the view.
  7. Navigate to the Manager View and press Ctrl + V to Paste the Contents of the ShareVisPreProcessView
  8. Repeat steps 5–7 for the HR View.
  9. For each view, replace/change the header Time Off Request with the name of the view (for example, HR View, Manager View, etc.)

    You may keep the Time Off Request header there, just make sure that you modify it to display what view it is. See the following example:

  10. Save your form, and then close InfoPath.
  11. Return to the Time Off Request solution, and then save your changes.
  12. In Designer, in the Manager swimlane, click the Approval node..
  13. In the Properties Pane, next to FormView, click drop arrow, and then select Manager View.

  14. In the HR Swimlane, click the Approval node.
  15. In the Properties Pane, next to FormView, click drop arrow, and then select HR View.

  16. On the toolbar, click Save, and then click Publish to publish it.