Download presentation
Presentation is loading. Please wait.
1
OFC 317 使用 WinWF 构建 Microsoft Office SharePoint Server 2007 中的工作流应用
2
Agenda Options for workflow development The business processes we will model Demo: Using WF in OSS & 2007 Office system Describe the design, develop, debug & deploy steps Demos: Implementing Workflows in SPS & Office 2007 Building, Implementing and deploying workflows for SharePoint & Office 2007 in VS.NET 2005 Advanced WF: Design Pattern – WF as Middle Tier Architecture
3
Windows Workflow Foundation Vision: Deliver best-in-class workflow platform & tools for Microsoft products and partner/customer ecosystem Single workflow technology for Windows Base for Microsoft products and ISV/customer solutions One technology for human and system workflow A framework not a server product or application An extensible framework based on Microsoft.NET Ships as Part of.NET 3.0 (WinFX), which ships in Windows Make workflow mainstream for.NET developers Strong workflow partner & solution ecosystem Reach mainstream application developer
4
Structured Ad Hoc Microsoft Visual Studio and workflow SDK Office SharePoint Designer workflows Out-of-the-Box Solutions (with customization) Application Task and Issue Tracking Routing & Approval Review Approval Signature collection East Asian workflow Office Server Features List Moderation Publishing Process Document Expiration Document Processes Spec Review Weekly Status Report Custom Tracking Apps Service Requests Asset Tracking Custom Form Actions Email Notification Exception Handling LOB Integration Purchase Order Processing Product lifecycle management Workflow Scenarios
5
The Business Process
6
Using WF in SharePoint 2007 & 2007 Office System
7
Development Steps Model workflow in Microsoft Visual Studio Create and bind Microsoft Office InfoPath forms Deploy to Microsoft Office SharePoint Server Debug the running workflow
8
Model & Building Workflows In Visual Studio 2005 Prerequisites: Office SharePoint Server 2007 Beta 2.NET 3.0 (WinFX) Runtime Components Microsoft Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2.2 Microsoft Windows Software Development Kit (SDK) for Beta 2 of Microsoft Windows Vista 2007 Office System Starter Kit: Enterprise Content Management Starter Kit Create project of type “SharePoint Sequential Workflow Library” Create the workflow
9
Create and Bind InfoPath Forms Types of InfoPath forms in Workflows Association form User adds workflow to a list For setting options on WF Initiation form For manual workflow start Collects workflow parameters Task completion form A user to edit a task from WF User edits or enters data Modification form Linked off WF status page Can modify in-flight WF
10
Create and Bind InfoPath Forms InfoPath forms are used in these places
11
Hosting Environment Create and Bind InfoPath Forms SharePoint hosts the InfoPath form InfoPath Form Templates
12
Hosting Environment Create and Bind InfoPath Forms Data from SharePoint is passed in InfoPath Form Templates SharePoint object _________
13
Hosting Environment Create and Bind InfoPath Forms Submit the form, saves data to SharePoint InfoPath Form Templates SharePoint object _________
14
Hosting Environment Create and Bind InfoPath Forms SharePoint starts the workflow InfoPath Form Templates SharePoint object _________ SharePoint -> Task/WF Host
15
SharePoint Task instructions = “Please do this.” Task data as xml Create and Bind InfoPath Forms Pushing data from WF task into InfoPath InfoPath Task Form <z:row xmlns:z=“#RowSetSchema” ows_MetaInfo_instructions=“”/>
16
Deploy to SharePoint Server Generate Metadata files Feature.XMLWorkflow.XML Install/activate the “feature” IISReset Associate workflow to the list/library
17
Debug the Running Workflow Visual Studio running on server machine Open the workflow in Visual Studio Attach to all of the W3WP Processes Start the workflow
18
Building the Workflow
19
Call to Action WF plugs a large hole in the platform that used to be hard because it had to be built by hand WF provides a design time environment that makes it easy to build even the most complex workflows The 2007 Office system and SharePoint 2007 WF integration is fantastic; consequently, integrated solutions are easy to design and build
20
For More Information… WF on the.NET 3.0 (WinFX) Developer Center: http://msdn.microsoft.com/winfx/technologies/workflow/default.aspx http://msdn.microsoft.com/winfx/technologies/workflow/default.aspx Downloads: Microsoft Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2.2 Microsoft Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2.2 Windows Workflow Foundation - Beta 2.2 Windows Workflow Foundation - Beta 2.2 Windows Workflow Foundation Beta 2 HOL Windows Workflow Foundation Beta 2 HOL 2007 Microsoft Office System Beta 2 2007 Microsoft Office System Beta 2 Microsoft® Windows® Software Development Kit (SDK) for Beta 2 of Windows Vista and.NET 3.0 (WinFX) Runtime Components Microsoft® Windows® Software Development Kit (SDK) for Beta 2 of Windows Vista and.NET 3.0 (WinFX) Runtime Components Windows SharePoint Services SDK Beta 2 Windows SharePoint Services SDK Beta 2 Microsoft Office SharePoint Server SDK Beta 2 Microsoft Office SharePoint Server SDK Beta 2 2007 Office System Starter Kit: Enterprise Content Management Starter Kit 2007 Office System Starter Kit: Enterprise Content Management Starter Kit
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.