olaf feldkamp microsoft schweiz gmbh [email protected] part ii

33
Olaf Feldkamp Microsoft Schweiz GmbH [email protected] Microsoft SharePoint 2010 technology for Developers Part II

Upload: alison-wardle

Post on 01-Apr-2015

228 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Olaf FeldkampMicrosoft Schweiz [email protected]

Microsoft SharePoint 2010 technology for DevelopersPart II

Page 2: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

AgendaBusiness Connectivity ServicesOffice Development with Visual Studio 2010Open XML SDK 2.0Word Automation ServicesRibbon and Dialog FrameworkWorkflow in SharePoint 2010

Page 3: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

SharePoint 2010 Sessions at TechDays 2010

Communities

Search

Sites

Composites

ContentInsights

• Line-of-Business Applications with SharePoint and Silverlight

• Workflow Development

• SharePoint Sandboxed Solutions

Insights Overview

• Migration/Update to SharePoint 2010

• Microsoft Online Services

• What's new in Office Client

SharePoint forInformation Architects

SharePoint 2010for Developers I

SharePoint 2010for Developers II

Page 4: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Business Connectivity Services

Page 5: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Business Users – without CodeUse out-of-the-box featuresCustomize with SharePoint Designer and InfoPath

Application Developers – with CodeBuild web parts (classic ASP.NET, AJAX, Silverlight), line-of-business data integration, list event handlers, workflows, workflow activities, application pages, content types, …Business Collaboration Applications

Operations – Reliability Sandboxed solutionsSilverlight user interface (and business logic)

SharePoint Composite Solutions

Page 6: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Office Integration

Business Connectivity Services (BCS)

ADO.NET

External Data

Web ServiceWCF Service

Business Connectivity Services

Cache

BCS Client

Runtime

Business Connectivity Services

SharePoint Server 2010

Secure Store Service

Search, Workflow, Web Parts

External Content Types

Server Runtime

SharePoint Site

VSTOPackage

External List

Office Client

External Business Parts

Custom Code

.NET AssemblyConnector

Page 7: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Development ApproachesIT Admin

Import &Configure WSP

Power User

“Live” Connectio

n No code, configure existing back-end integration end-points

Connect to WCF, ADO.NET and .NET Objects

Simultaneously author thin and rich client UX for External Lists. Create InfoPath Forms

WSP/ClickOnce Package

Create custom back-end integration logic using .NET Assemblies

Author thin and rich client UX as SharePoint and VSTO customization projectsDevelop

er

Page 8: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Business Connectivity Services in Action

Page 9: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Business Connectivity Services with SharePoint Designerdemo

Page 10: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

BCS with Visual Studio 2010

Page 11: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Office Developmentwith Visual Studio 2010

Page 12: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Visual Studio 2010 provides backward-compatible toolingOffice 2007 project templates are supportedBut not Office 2003Visual Studio 2010 and 2008 work side-by-side

All 2007 supported scenarios persist forward to 2010Improved deployment support in Office 2010 with Visual Studio 2010

Package multiple add-ins deployment now supportedOffice Primary Interop Assemblies no longer needed

Language enhancementsC#—Optional Parameters, Named Arguments, Dynamic typesVB—Implicit line continuation, Dynamic types, Auto-properties

Office Development with Visual Studio 2010

Page 13: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Backstage View

Tab

FastCommand

Group Column

Page 14: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Reference: officeatwork AGCustomers: various

Page 15: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Customizing the Backstage Viewwith Visual Studio 2010demo

Page 16: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Open XML SDK 2.0

Page 17: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Programming with Open XML

File Container

Document Properties

Comments

Markup

Custom XML

Images, sound, video

Embedded code

Styles

Open XML SDK 2.0

Content Level

Package Level

Packaging API Schemas

Page 18: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Open XML SDK 2.0

demo

Page 19: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Word Automation Services

Page 20: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Word, Excel, Access, and Visio Services

Word• Conversions• Field

Updates

Excel• Calculations• UDFs• REST API• JavaScript

Object Model• Web Services

Access• Publish to

SharePoint• UI Macros• Data Macros• Reports

Visio• Publish to

SharePoint• Connect

Diagrams to Data

• JavaScript Object Model

Page 21: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

The SDK and Word Automation Services are designed to be complimentary

SDK for file manipulationWord Automation Services for file conversion/archiving tasks

Word Automation Services + Open XML SDK

Open XML SDK 2.0Data

Docu-ments

Word Automation Services

PDF Print

Template

Page 22: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Combining Open XML and Word Automation Servicesdemo

Page 23: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Ribbon andDialog Framework

Page 24: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Ribbon, Status Bar and Notification Area

Status Bar

Notification

Ribbon

Page 25: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

The Dialog Framework

Page 26: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Ribbon andDialog Frameworkdemo

Page 27: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Workflow in SharePoint 2010

Page 28: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Workflow in SharePoint 2010

Out-of-Box Workflows

• Ready to use

• Common approval scenarios

Out-of-Box Customi-

zation

• Association and initiation settings

• Modify logic in SPD

• Design forms in InfoPath

Custom Declarative

• Start from scratch, from existing, or import from Visio

• More types of workflows

• Task process framework

Custom Activities

• Encapsulate custom code in a new action

• Deploy in full or partial trust (as user code)

Custom Non-

Declarative

• Import Reusable Workflow

• Advanced modeling

• Workflow Forms

• Handle workflow events

Browser

Visual StudioSharePoint Designer

Incr

easi

ng

Fu

nct

ion

alit

y

Page 29: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Bringing SPD and Visual Studio together

Power User Developer

Workflow Package

Custom Activities

Page 30: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Importing a Workflow Package to Visual Studiodemo

Page 31: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Read/write capabilities with backend systems through Business Connectivity ServicesVisual Studio 2010 continues to make it easy to build Microsoft Office-based solutionsWord Automation Services are the Word conversion and layout engine on the server

Especially powerful if combined with Open XML SDK 2.0

The new contextual ribbon is customizableImproved workflow capabilities

Summary

Page 32: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II

Thank you for your Attention!For more Information please contact

Olaf FeldkampDevelopment Platform Advisor

Olaf.Feldkamp(at)microsoft.comPhone (UC): +41 (43) 456 63 87

Microsoft Schweiz GmbHRichtistrasse 38304 Wallisellen

Page 33: Olaf Feldkamp Microsoft Schweiz GmbH Olaf.Feldkamp@microsoft.com Part II