Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna SharePoint 2010 Composites (Teil II) Simon Amrein Consultant.

Slides:



Advertisements
Similar presentations
Introduction to SharePoint for .NET Developer
Advertisements

Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
SharePoint 2010 Overview Presented by: Oscar Garcia
Windows Workflow Foundation By Sam Nasr, MCAD October 23,
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Highlights BI.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Effiziente Data.
Services Course Office Web Apps Participant Guide.
Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Presented by Srini CAPAREA SPONSORS AUDIENCE.
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Microsoft Office Project and Project Server Reporting May 12 th, 2009 Chris Oxtoby, MCP – Principal Consultant, Pcubed.
Building an Enterprise Mash-up Platform
Microsoft SharePoint 2010 technology for Developers
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Developing for SharePoint with Visual Studio Jason Keicher
Basel · Baden Bern · Brugg · Lausanne Zurich Düsseldorf · Frankfurt/M. · Freiburg i. Br. Hamburg · Munich · Stuttgart · Vienna Entwicklung von SharePoint.
Form Designer & Filler Browser and Client forms Visual Layout Form Logic Data Connection.
Hilton Giesenow - The MOSS Show Overview of the SharePoint 2010 Developer Platform SESSION CODE: OFC308.
Microsoft Patterns and Practices SharePoint Guidance Robert L. Bogue MS MVP, MCSE, MCSA: Security
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
SharePoint 2010: BCS m Business Connectivity Services.
Becky Bertram SharePoint MVP
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
SharePoint Workflow Development Using Visual Studio Brian LaSitis February 27, 2008.
SharePoint Design Tools Office Applications.
Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
SharePoint 2010 and Office 2010 Development Randy Williams Senior Consultant & Trainer Synergy Corporate Technologies.
Using SharePoint Business Connectivity Services to Expose Line of Business Data October 22, 2010.
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Todd Kitta  Covenant Technology Partners  Professional Windows Workflow Foundation.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
OSP Addressing Critical Business Challenges 2. Increasing Productivity 3. Modern Organizational Reality 4. Connecting Data and People Business.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
19 May 2012 Business Connectivity Services (BCS) Brett Lonsdale – Lightning #SPSJHB The first ever all green SharePoint event on earth.
Jean-Claude Trachsel Senior Consultant Trivadis AG Building a Website with ASP.NET MVC.
Office Business Applications Workshop Defining Business Process and Workflows.
SharePoint Online – Developing Solutions for the Cloud Chris Mayo Microsoft Corporation
Business Connectivity Services (BCS) Primer Creating BCS Applications Creating.NET Assembly Connectors in Visual Studio 2010 support BCS Security.
What’s New in SharePoint 2010 Workflow Designing Workflows with SPD Developing Workflows with VS 2010.
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Michael Hofer Senior Consultant Microsoft Corporation.
Orbit One BVBA Raas van Gaverestraat 83 B-9000 GENT, BELGIUM Website
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Asif Rehmani, SharePoint MVP VisualSP
Rolando Jimenez Sr. Lead Program Manager Microsoft Corporation.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Overview Silverlight Client Object Model JavaScript Client Object Model Calling SharePoint Web Services Summary.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN WELCOME The SharePoint 2013 App Model.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
Introduction ITEC 420.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Introducing the Microsoft® .NET Framework
How to be a SharePoint Developer
Integrating SharePoint 2010 with Office 2010
Beyond the BDC\BCS Model
Upgrading from BDC to BCS
Business Connectivity Services in SharePoint 2010 and Office 2010
Accessing and Surfacing LOB Data in SharePoint 2010
SharePoint Server 2010 Introduction for Developers
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
SharePoint Workflow: Taking the Manual Out of Your Process
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna SharePoint 2010 Composites (Teil II) Simon Amrein Consultant Wallisellen,

© 2010 MSDN TechTalk - SharePoint 2010 Composites  Simon Amrein  Consultant  Entwicklung von SharePoint und.Net Projekten  Referent  Erfahrung  C# seit 2002  SharePoint seit WSS 3.0 / MOSS 2007 Beta 2  Referent  SharePoint und.Net Schulungen für Trivadis AG  Ignite Training für Microsoft in der Schweiz  MSDN TechTalks  Certification BootCamp SharePoint 2010 Application Development  Shape 26. Oktober 2010, Swissôtel Zürich Vorstellung 2

© 2010 MSDN TechTalk - SharePoint 2010 Composites Agenda Data are always part of the game.  SharePoint & WF  SharePoint & External Data  SharePoint & Silverlight on the Client 3

© 2010 SharePoint 2010 Workflow – How to Start?  I identified a business need…  But how do I start now??? MSDN TechTalk - SharePoint 2010 Composites4

© 2010 SharePoint WF – How to Start? – Bad Idea  WRONG… MSDN TechTalk - SharePoint 2010 Composites5

© 2010  Better… MSDN TechTalk - SharePoint 2010 Composites SharePoint WF – How to Start? – Better Idea 6

© 2010  You’ve got it… MSDN TechTalk - SharePoint 2010 Composites SharePoint WF – How to Start? – Best Idea 7

© 2010 SharePoint Workflows  SharePoint 2010 Workflow based on.NET Framework 3.5 SP1  Sequential & State Machine Workflow  New Workflow events:  Starting  Started  Postponed  Completed MSDN TechTalk - SharePoint 2010 Composites8

© 2010 SharePoint 2010 Workflow Spectrum MSDN TechTalk - SharePoint 2010 Composites Quelle: SharePoint Conference 9

© 2010 SharePoint Workflow with Visio  Business Engineers design the Workflow  «Microsoft SharePoint Workflow» Template (Sequential) MSDN TechTalk - SharePoint 2010 Composites10

© 2010 SharePoint Workflow – Visio Activities MSDN TechTalk - SharePoint 2010 Composites11

© 2010 SharePoint Workflow - Export  Export Workflow as an Visio interchange format MSDN TechTalk - SharePoint 2010 Composites12

© 2010 DEMO MSDN TechTalk - SharePoint 2010 Composites  Visio 13

© 2010 SharePoint Workflow with SharePoint Designer 2010  SharePoint Designer 2010 – Intuitive  Site Workflow  Reusable Workflow  Customize OOB Workflows  High Privilege Impersonation Step MSDN TechTalk - SharePoint 2010 Composites14

© 2010 SharePoint Designer – Create new Workflow MSDN TechTalk - SharePoint 2010 Composites15

© 2010 SharePoint Designer - WF  Actions & Conditions MSDN TechTalk - SharePoint 2010 Composites16

© 2010 SharePoint Designer - Actions & Conditions  Overview MSDN TechTalk - SharePoint 2010 Composites 17

© 2010 SharePoint Designer - Visualisation MSDN TechTalk - SharePoint 2010 Composites18

© 2010 SharePoint Designer – Save as a Template  Extend Workflow in Visual Studio 2010 MSDN TechTalk - SharePoint 2010 Composites19

© 2010 DEMO MSDN TechTalk - SharePoint 2010 Composites  SharePoint Designer 20

© 2010 SharePoint Workflow with Visual Studio 2010 MSDN TechTalk - SharePoint 2010 Composites  Only Farm Solution  WorkFlows:  Sequential  State Machine  Type:  Site  List 21

© 2010 SharePoint Activity for SharePoint Designer 2010  Derive from: System.Workflow.ComponentModel.Activity  Override Methode ActivityExecutionStatus Execute(System.Workflow.ComponentModel.ActivityExecu tionContext executionContext)  Adding a custom.actions into %SPRoot%\Template\1033\Workflow  Register Assemblies MSDN TechTalk - SharePoint 2010 Composites22

© 2010 SharePoint Activity for SharePoint Designer 2010 MSDN TechTalk - SharePoint 2010 Composites23

© 2010 SharePoint Activity for SharePoint Designer 2010 MSDN TechTalk - SharePoint 2010 Composites24 . actions File

© 2010 SharePoint Activity for SharePoint Designer 2010 MSDN TechTalk - SharePoint 2010 Composites25  Web.Config

© 2010 SharePoint Activity for SharePoint Designer 2010 MSDN TechTalk - SharePoint 2010 Composites26

© 2010 SharePoint Activity for SPD IE MSDN TechTalk - SharePoint 2010 Composites27

© 2010 SharePoint Activity for SPD Visio MSDN TechTalk - SharePoint 2010 Composites28

© 2010 Demo MSDN TechTalk - SharePoint 2010 Composites  Custom Action 29

© 2010 MSDN TechTalk - SharePoint 2010 Composites Agenda Data are always part of the game.  SharePoint & WF  SharePoint & External Data  SharePoint & Silverlight on the Client 30

© 2010 SharePoint 2010 – External Data  Remember 2007  We were able to read external data  We had SharePoint Designer 2007 MSDN TechTalk - SharePoint 2010 Composites But know we are in the year 2010!  We used 3th Party Tools… 31

© 2010 SharePoint 2010 – External Data  Again – We have different Tools MSDN TechTalk - SharePoint 2010 Composites32

© 2010 Solution Types, Personas and Tools Power User / No code RAD Dev OOB UX on thin and rich clients (Outlook and Groove) based on External Lists Connect to existing back- end integration services or simple databases Transparent packaging (managed by BCS) Advanced Advanced Dev Custom Code Custom UX and data integration on thin and rich clients (apps that support VSTO add-ins) Custom back-end connectivity through.Net objects Explicit packaging (managed by dev) SharePoint Designer Simple MSDN TechTalk - SharePoint 2010 Composites33

© 2010 Development Approaches SharePoint Server (Prod / Dev) IT Admin Import & Configure WSP/BDC SI/IT Devs “Live” connection SharePoint Designer  No code, discover and configure existing back-end integration end-points  Connect to (existing) WCF, ADO.Net and.Net Objects  Simultaneously author thin and rich client UX for External List and InfoPath Forms Pro Dev Produce WSP/ClickOnce Package w/BDC Model WSP/ ClickOnce Package  Create custom back- end integration logic using.Net code  Author thin and rich client UX (independently) as SharePoint and VSTO customization projects MSDN TechTalk - SharePoint 2010 Composites34

© 2010 SharePoint Designer  Connecting to an external datasource – Just a few clicks to go… MSDN TechTalk - SharePoint 2010 Composites35

© 2010 Visual Studio 2010 Support  The tool for creating “.NET Connectors” MSDN TechTalk - SharePoint 2010 Composites36

© 2010 Business Data Catalog Methods MSDN TechTalk - SharePoint 2010 Composites37

© 2010 MSDN TechTalk - SharePoint 2010 Composites38 Demo  External List – Visual Studio

© 2010 MSDN TechTalk - SharePoint 2010 Composites Agenda Data are always part of the game.  SharePoint & WF  SharePoint & External Data  SharePoint & Silverlight on the Client 39

© 2010 Customer Request…  We would like to access more data from SharePoint – So, we need more web-services! MSDN TechTalk - SharePoint 2010 Composites  But this would end in a web-services hell…  Microsoft introduced the Client Object Model 40

© 2010 Client Object Model MSDN TechTalk - SharePoint 2010 Composites41

© 2010 Client Object Model Server (Microsoft.SharePoint).NET Managed (Microsoft.SharePoint.Client) Silverlight (Microsoft.SharePoint.Client.Silverlight) ECMAScript (SP.js) SPContextClientContext SPSiteSite SPWebWeb SPListList SPListItemListItem SPFieldField MSDN TechTalk - SharePoint 2010 Composites42

© 2010 Work with Object Model 1.Define, where you want to conntect to... 2.Define, with what you want to work with... 3.Load what you have defined 4.Execute load process MSDN TechTalk - SharePoint 2010 Composites43

© 2010 ClientContext  Return the context for a client request MSDN TechTalk - SharePoint 2010 Composites using System; using Microsoft.SharePoint.Client; namespace Microsoft.SDK.SharePointServices.Samples { class WebSiteTitle { static void Main() { ClientContext clientContext = new ClientContext(" // ClientContext.Current; Web oWebsite = clientContext.Web; } using System; using Microsoft.SharePoint.Client; namespace Microsoft.SDK.SharePointServices.Samples { class WebSiteTitle { static void Main() { ClientContext clientContext = new ClientContext(" // ClientContext.Current; Web oWebsite = clientContext.Web; } 44

© 2010 Load Objects  Load (void)  LoadQuery (IEnumerable) MSDN TechTalk - SharePoint 2010 Composites clientContext.Load(oWebsite, website => website.Title); listInfo = clientContext.LoadQuery( collList.Include( list => list.Title, list => list.Fields.Include( field => field.Title, field => field.Id).Where( Id => field.Required == true))); clientContext.Load(oWebsite, website => website.Title); listInfo = clientContext.LoadQuery( collList.Include( list => list.Title, list => list.Fields.Include( field => field.Title, field => field.Id).Where( Id => field.Required == true))); 45

© 2010 Execute Query  Execute() (synchronous)  ExecuteQueryAsync(SuccesHandler, FailureHandler) (asynchronous)  The Silverlight client object model provides both an ExecuteQuery() method, which can be called synchronously from threads that do not modify the user interface (UI), and an asynchronous ExecuteQueryAsync() method for cases where threads do modify the UI.” MSDN TechTalk - SharePoint 2010 Composites46

© 2010 MSDN TechTalk - SharePoint 2010 Composites47 Demo  SharePoint & Silverlight

© 2010 MSDN TechTalk - SharePoint 2010 Composites48 Courses  The Swiss PDC :00 – 22:00Zurich  Microsoft SharePoint 2010 Application Development (M-10175) – Zurich  Bootcamp for TS: Microsoft SharePoint 2010, Application Development December, FebruaryZurich

Basel Bern Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Thank you!