olaf feldkamp microsoft schweiz gmbh [email protected] part ii
TRANSCRIPT
Olaf FeldkampMicrosoft Schweiz [email protected]
Microsoft SharePoint 2010 technology for DevelopersPart II
AgendaBusiness Connectivity ServicesOffice Development with Visual Studio 2010Open XML SDK 2.0Word Automation ServicesRibbon and Dialog FrameworkWorkflow in SharePoint 2010
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
Business Connectivity Services
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
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
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
Business Connectivity Services in Action
Business Connectivity Services with SharePoint Designerdemo
BCS with Visual Studio 2010
Office Developmentwith Visual Studio 2010
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
Backstage View
Tab
FastCommand
Group Column
Reference: officeatwork AGCustomers: various
Customizing the Backstage Viewwith Visual Studio 2010demo
Open XML SDK 2.0
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
Open XML SDK 2.0
demo
Word Automation Services
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
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
Combining Open XML and Word Automation Servicesdemo
Ribbon andDialog Framework
Ribbon, Status Bar and Notification Area
Status Bar
Notification
Ribbon
The Dialog Framework
Ribbon andDialog Frameworkdemo
Workflow in SharePoint 2010
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
Bringing SPD and Visual Studio together
Power User Developer
Workflow Package
Custom Activities
Importing a Workflow Package to Visual Studiodemo
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
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