OFC312 Developing Workflows for the 2007 Microsoft Office System and Windows SharePoint Services (version 3) Adam Calderon Principal Engineer - Interknowlogy.

Slides:



Advertisements
Similar presentations
VWF313: Designing and Building Workflow Solutions for SharePoint 2007 Tim Huckaby CEO, InterKnowlogy Microsoft RD & MVP.
Advertisements

Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Designing InfoPath Forms: The Dos and Donts Deploying InfoPath Forms: Making the right choice Adding custom business logicin case the built-in stuff isnt.
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
OFC 317 使用 WinWF 构建 Microsoft Office SharePoint Server 2007 中的工作流应用.
Mark Rees Microsoft Consulting Services OFC409 Windows Workflow Foundation (WF) Primer Creating WF programs in Visual Studio Creating workflow templates.
SharePoint Collaboration Features & Workflow
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
Visual Studio 2008 and.NET 3.5 provide seamless support for all of the protocols and techniques popular in Web 2.0-style applications. Visual Studio.
Office Business Applications Workshop Defining Business Process and Workflows.
Eric White Technical Evangelist Microsoft Corporation Session Code: OFC403.
customer.
Rich Platform Services Manageability User Experience.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
DEV311 Delving into Visual Studio 2005 Team Edition for Software Testers Ed Glas Group Manager, Web and Load Testing Microsoft Corporation.
Step-by-Step Migration and Adoption Mark Michaelis Architect, Author, and Trainer Eric Lee Microsoft Product Manager Visual Studio 2005 Team Foundation.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Paul Andrew Technical Product Manager Microsoft Session Code: OFS212.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Demand Management and Workflow
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
6/2/2018 3:37 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
2010 Microsoft BI Conference
Microsoft Virtual Academy
COM210 Introduction to Workflow in Windows Applications
Developing Drivers in Visual Studio
Office Power Hour New developer APIs and features for Apps for Office
Overview of Social Computing in Microsoft SharePoint 2010
SharePoint Designer 2007 Overview and customization scenarios
Building event-driven, long-running apps with Windows workflow
Microsoft Virtual Academy
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Tech Ed North America /1/2019 2:58 AM Required Slide
Intro to Workflow Services and Windows Server AppFabric
Microsoft Virtual Academy
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
SPC Developer 1/18/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
2010 Microsoft BI Conference
Building Silverlight Apps with RIA Services
Developing and Managing SharePoint Solutions with Visual Studio 2012
TechEd /28/2019 3:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Microsoft Virtual Academy
Delivering great hardware solutions for Windows
Microsoft Office SharePoint 2007 Technical Enablement Tour
DevOps better together with System Center 2012 SP1 and Visual Studio
The complete developer's guide to the SkyDrive API
5/25/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Microsoft Virtual Academy
6/20/2019 1:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Mobile App Management David Alessi — Support Topic Owner for Enterprise Windows Phone, Microsoft Corporation Simon May — Enterprise Device Infrastructuralist,
Microsoft Virtual Academy
Build /24/ What's new for Azure developers in Visual Studio 2013 update 2 and Azure SDK 2.3 Dan Fernandez Principal PM
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Presentation transcript:

OFC312 Developing Workflows for the 2007 Microsoft Office System and Windows SharePoint Services (version 3) Adam Calderon Principal Engineer - Interknowlogy Microsoft MVP – C#

Session Objectives And Key Takeaways Session Objective: Office workflow development in Microsoft Visual Studio 2005 Windows SharePoint Services V3 & 2007 Microsoft Office system workflow built on top of Windows Workflow Foundation platform Workflow is a powerful tool for driving customer business processes Microsoft Office InfoPath 2007 enables symmetric rich/reach form authoring Key Takeaways: Windows Workflow Foundation is a framework for building workflow into applications A single workflow technology for Windows WF has good integration into 2007 Office system & OSS

Agenda Options for workflow development The business processes we will model Demo: Using WF in OSS & 2007 Office system Introduce Workflow 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

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) Make workflow mainstream for.NET developers Strong workflow partner & solution ecosystem Reach mainstream application developer

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 Notification Exception Handling LOB Integration Purchase Order Processing Product lifecycle management Workflow Scenarios

The Business Process

Using WF in SharePoint 2007 & 2007 Office System

What is a workflow? A workflow is a class A workflow class may be defined in markup Imports System.Workflow.Activities Public Class MyWorkflow Inherits SequentialWorkflow … End Class …

How is a workflow put together? Workflow constructor configures contained activities (like forms & controls) Imports System.Workflow.Activities Partial Public Class MyWorkflow Inherits SequentialWorkflow Public Sub New() MyBase.New() InitializeComponent() End Sub End Class Partial Public Class MyWorkflow REM designer generated Private Sub InitializeComponent() Me.delay1 = New System.Workflow.Activities.Delay Me.delay1.ID = "delay1" Me.delay1.TimeoutDuration = System.TimeSpan.Parse("00:00:05") Me.Activities.Add(Me.delay1) Me.ID = "MyWorkflow" End Sub Private WithEvents delay1 As System.Workflow.Activities.Delay End Class

What is an activity? Activities are the building blocks of workflows The unit of execution, re-use and composition Basic activities are steps within a workflow Composite activities contains other activities EG: Sequence Base Activity Library provides out-of-the-box activity set Partners and customers author custom activities EG: “Review Documents”

What is an activity? Activities are classes: Properties and events are defined by the activity author and programmable from workflows Has methods that are coded by the activity author but invoked by the workflow runtime (EG: Execute) or designer Can be built into workflow assemblies or deployed as re-usable libraries

What is an activity? using System.Workflow.ComponentModel; public partial class SendMail : System.Workflow.ComponentModel.Activity { public SendMail() { InitializeComponent(); } protected override Status Execute(ActivityExecutionContext context) { // my logic here return Status.Closed; } public partial class SendMail { public string subject; public string Subject { get { return subject; } set { this.subject = value; } } private void InitializeComponent() // designer generated { this.ID = "SendMail"; }

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

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

The Business Process Workflow

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

Create and Bind InfoPath Forms InfoPath forms are used in these places

Hosting Environment Create and Bind InfoPath Forms SharePoint hosts the InfoPath form InfoPath Form Templates

Hosting Environment Create and Bind InfoPath Forms Data from SharePoint is passed in InfoPath Form Templates SharePoint object _________

Hosting Environment Create and Bind InfoPath Forms Submit the form, saves data to SharePoint InfoPath Form Templates SharePoint object _________

Hosting Environment Create and Bind InfoPath Forms SharePoint starts the workflow InfoPath Form Templates SharePoint object _________ SharePoint -> Task/WF Host

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=“”/>

Deploy to SharePoint Server Generate Metadata files Feature.XMLWorkflow.XML Install/activate the “feature” IISReset Associate workflow to the list/library

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

Building the Workflow

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

For More Information… WF on the.NET 3.0 (WinFX) Developer Center: 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 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 Office System Starter Kit: Enterprise Content Management Starter Kit 2007 Office System Starter Kit: Enterprise Content Management Starter Kit

Adam Calderon More info on InterKnowlogy More info on InterKnowlogy Contact Information Contact Information Phone: x274 Blog: About Adam Calderon Microsoft ® MVP – C# Microsoft ® ASP.NET (UI Server Frameworks) Advisory Council Developer / Author / Speaker

Thank You!

Resources Technical Chats and Webcasts Microsoft Learning and Certification MSDN & TechNet Virtual Labs Newsgroups communities/newsgroups/en-us/default.aspx Technical Community Sites User Groups

Fill out a session evaluation on CommNet and Win an XBOX 360!

The 2007 Microsoft Office System Clients. Servers. Solutions. Install Beta 2 today! It’s in your attendee bag Learn more at the Office System TLC Demo Stations / Hands-on-Labs / Chalk-talks Get more information Get more information Lab Demo

© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.