Client Workflow Lab

Version: 3.0.0

Description

Now with both C# and VB code samples! In this lab, you will build a workflow process using Visio 2010, SharePoint Designer 2010 and Visual Studio 2010. The end goal of the workflow process is to approve timesheet submission. The employee will submit an entry. The process will examine several fields and end up with an approved timesheet. At this point, the data is used to generate a Word document containing a printable version of the timesheet.

Overview

In this lab exercise, you will build a workflow process using Visio 2010, SharePoint Designer 2010 and Visual Studio 2010. The end goal of the workflow process is to approve timesheet submission. The employee will submit an entry. The process will examine several fields and end up with an approved timesheet. At this point, the data is used to generate a Word document containing a printable version of the timesheet.

Objectives

In this lab you will:

  • Learn to build declarative workflows using Visio 2010 and SharePoint Designer 2010
  • Learn to build a workflow in Visual Studio 2010

System Requirements

This lab assumes that you have SharePoint Server installed in a test environment. For guidance on how to setup SharePoint Server see https://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx. Note that any URL referred to in this lab must be adjusted for use with your local setup. You must have the following items to complete this lab:

  • Microsoft® Windows® Vista SP1 or Microsoft® Windows Server 2008 (64-bit)
  • Microsoft® SharePoint Server 2010 (64-bit)
  • Microsoft® Office Professional Plus 2010 (32-bit or 64-bit)
  • Microsoft® Visual Studio 2010

Setup

You must perform the following steps to prepare your computer for this lab. This consists primarily of creating a SharePoint site collection at https://intranet.contoso.com/sites/ClientWorkflow and installing the code snippets for this lab.

  1. Run the command file Setup.bat located at %Office2010DeveloperTrainingKitPath%\Labs\ClientWorkflow\Source\.
  2. Visual Studio solutions. The lab provides a Source folder. The lab instructions assume that you installed the training kit to the default location, C:\Office2010DeveloperTrainingKit\.
    Note:
    Inside the lab’s Source folder, you will find a Solution folder containing an end solution with the completed lab exercise.

Exercises

This Hands-On Lab is comprised of one exercise with the following tasks:

  1. Defining a process in Visio 2010
  2. Completing a process in SharePoint Designer 2010
  3. Building a Workflow in Visual Studio 2010

Estimated time to complete this lab: 60 minutes.