sharepoint 2007 developer highlights and server processing...

41
SharePoint 2007 Developer SharePoint 2007 Developer Highlights and Server Processing Highlights and Server Processing Server Side Document Creation Server Side Document Creation using the new XML File Formats using the new XML File Formats Mike Ormond Developer and Platform Group, Microsoft Ltd [email protected] http://blogs.msdn.com/mikeormond

Upload: others

Post on 18-Mar-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

SharePoint 2007 Developer SharePoint 2007 Developer Highlights and Server ProcessingHighlights and Server Processing

Server Side Document Creation Server Side Document Creation using the new XML File Formatsusing the new XML File FormatsMike OrmondDeveloper and Platform Group, Microsoft [email protected]://blogs.msdn.com/mikeormond

Page 2: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

AgendaAgenda

Part 1ASP.NET IntegrationUser Interface Extensions Collaboration & Tracking FeaturesThe Business Data CatalogMobile Support

Page 3: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server
Page 4: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

ASP.NET Integration OverviewASP.NET Integration Overview

Better integration with ASP.NET

More ASP.NET features “sh ine thro ug h”

Still some conceptualdifferences; SharePoint has

Template ModelUsers can edit pages ASP.NET 2.0ASP.NET 2.0

Windows Windows SharePoint SharePoint Services “v3”Services “v3”

Windows Windows SharePoint SharePoint

Services Services “v2”“v2”

ASP.NET 1.1ASP.NET 1.1

Page 5: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Master Page ConceptsMaster Page ConceptsOne page (master) ho ld s the “chro m e”Many pages point at the Master Master Page defines “Placeho ld ers” which can be overridden in child page

M aster Pag e “C hro m e” (d efault.m aster)M aster Pag e “C hro m e” (d efault.m aster)

Content Page (default.aspx)Content Page (default.aspx)

Page 6: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Master Pages Master Pages PlaceholdersPlaceholders

Page 7: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Web PartsWeb Parts

End-user customizable controlsPersonalization storeWeb part framework now in ASP.NET

Support for assembly-based ASP.NET 2.0 parts“W SS” W eb Parts fully sup p o rted

Improved in V3: User interface for Web Parts

Page 8: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

FeaturesFeaturesModular unit of extensibility

“a package of SharePoint elements that help a user accomplish a particular goal or task.”

Add functionality without modifying site definitionContain elements – atomic units defining feature

Declaring a featureFeature.xml -> manifest filesInstall & activate

Examples of featuresCustom menu itemWeb page / web partCustom listEvent handler

Page 9: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

ASP.NET ASP.NET IntegrationIntegration

Page 10: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Integration LimitationsIntegration Limitations

Cannot use ASP.NET 2.0 Web Part Pages; Not directly compatible as-is

Pages must include SPWebPartZones and SPWebPartManager

This is done to automatically handle compatibility issues

No built-in support for treating .ASCX files (user controls) as Web Parts

You can use .ASCXs in pages, thoughWrappers for .ASCXs can and will be created

Page 11: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

UI And NavigationUI And NavigationBreadcrumb

Site bread crumb provides user navigational contextSecurity Trimmed UI

Only show UI to users to which they have accessQuick Launch and top navigation

Present on view pagesCustomizable in the browser UI

View ImprovementsPaging BackwardsBetter Filter/Sort UI

Extensible Toolbars, Menus, Settings Pages

Page 12: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

User Interface Entry PointsUser Interface Entry Points

Page 13: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Collaboration Collaboration AndAnd TrackingTracking

List history and versioningVersion history for all SharePoint items

Shows changes to the item for each version“A p p end -o nly” co m m ent field s

Email and Distribution list supportSync APIs and Outlook synchronizationWindows Workflow FoundationAlerts and RSS

Page 14: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

List History & VersioningList History & Versioning

Page 15: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Visual Visual StudioStudio ExtensionsExtensionsfor SharePointfor SharePoint

Announced at Office DevConVS Add-in for SharePoint developmentGoal is to help developers get off the ground quickly by providing:

templates for common SharePoint itemseg web part, site definition etc

integrated debug experiencedeployable project packages

Page 16: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Email IntegrationEmail IntegrationSharePoint Lists can now receive e-mail

Discussion Boards, Calendars, Document Libraries, Announcements accept incoming email

Discussion boards maintain email threadingand full HTML messagesCalendars process incoming iCalsDocument libraries map attachments to documents

Extensib le sup p o rt fo r custo m „e-m ail hand lers‟C usto m lists can sup p o rt em ail b y w riting a „hand lerSharePoint handles routing of email, your code can map email data to list data

Page 17: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Distribution List SupportDistribution List SupportSharePoint site groups can have an associated „d istrib utio n list‟Create a distribution list for members upon site creationSharePoint sites will talk with directory services to create/manage distribution lists

Interface with directory service is pluggable through SharePoint directory management Web service interfaceAD directory management Web service provided in SharePointExample: Plug into existing directory management tools– apply policy on allowed naming for distribution lists

Page 18: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Email IntegrationEmail Integration

Page 19: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

EventsEvents

Richer event modelItem events apply to standard lists (i.e., non document libraries)

Added / changed / removedNew event types

“Pre” eventsWeb deletion eventsSchema change eventsIncoming E-mail events

Multiple event handlers

Page 20: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Outlook And Synchronization APIs Outlook And Synchronization APIs

Outlook allows user to work with personal and team data in one place

Read/Write access to SharePoint datatypes Calendar, tasks, contacts, discussions,and documents

Synchronization for offline support Change Log APIs optimized for synchronization

GetListItemChangesSinceToken – Web service method that returns list of items that changed (adds, updates, deletes, etc)

Page 21: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Outlook SynchronizationOutlook Synchronization

Page 22: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

WorkflowWorkflow

Connect business process to itemsWindows Workflow FoundationManual / automatic initiationUser interaction through Workflow forms

Design SharePoint workflows with:Built-inSharePoint DesignerVisual Studio

Page 23: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Simple WorkflowSimple Workflow

Page 24: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Keeping InformedKeeping Informed

AlertsFilters for more relevant alerts Richer information about item that has changed in the alert Platform for custom formatting, events,and alerts

RSSAll SharePoint lists provide RSS feeds

Page 25: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Business Data Catalog (BDC)Business Data Catalog (BDC)Connects Office servers to business dataConnects Office servers to business data

MetadataMetadataBusiness Data CatalogBusiness Data Catalog

Web PartsWeb Parts ListsLists SearchSearch User User ProfilesProfiles

Custom Custom AppsApps

DatabaseDatabase

WS ProxyWS Proxy ADO.NETADO.NET

Web Web ServiceService

SQL Server, Oracle, OLEDB, ODBCSQL Server, Oracle, OLEDB, ODBCB izTalk, SA P, Sieb el, Leg acy, …B izTalk, SA P, Sieb el, Leg acy, …

List List storestore

SearchSearchIndexIndex

ProfileProfileStoreStore

Page 26: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Metadata ModelMetadata ModelTwo purposes

D escrib e a system ‟s A PIGive meaning to the API; make it easily usable

Key objectsSystem – A data source (Siebel)Entity – A real-world thing (Customer)Method – An operation on an Entity (GetCustomerList)Association – A relationship between Entities (Customers have Orders)

Page 27: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Business Data CatalogBusiness Data Catalog

Page 28: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Mobile BrowsingMobile Browsing

SharePoint data accessible on mobile devices (e.g. phones, PocketPC).Accessible at http://server/m/Read/Write capabilities for list itemsMobile view authoring from browser UI

Page 29: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Mobile BrowsingMobile Browsing

Page 30: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

AgendaAgenda

Part 2Solutions & Building BlocksOpen XML File FormatContent ControlsOffice XML Data StoreServer Side Document Generation

Page 31: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Open XML File FormatsOpen XML File Formats

Default file formatMore efficient storageProgram against full document contentsBackward compatibility & legacy supportEasy document assembly, conversion & integrationSubmitted to ECMA for standardization

Page 32: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Office XML Data StoreOffice XML Data Store

Customer-defined XML (incl. WSS/Office properties) stored separately from WordprocessingML as a part in Open XML formatAny XML can be stored (with or without XML schema)XML data is available as an editable tree (using familiar DOM) within WordCan be populated on a server using WinFXor a client using Word OM

Page 33: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Content ControlsContent Controls

Makes structured documents more robust & much less Word specific code needed

Content restrictions, grouping & lockingCode can be used for business logic!

End user friendly and layout independent exposure of structured contentNo XML schema required

Evolution of customer-defined XML with custom XML mapping capabilities

Page 34: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

XML MappingXML Mapping

Link content controls to nodes in the XML data storeProvides for true data/view separation model in WordMappings are created using standard XPathexpressionsM ap p ing s can b e set up to „auto -attach‟ to incoming dataOut of the box support for mapping to Office properties

Page 35: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Mapping SharePoint Data Mapping SharePoint Data Into WordInto Word

Native integration between the SharePoint property set and the XML mapping architecture

SharePoint properties are stored as XML data Custom XML elements can be mapped to content controls in the document Enabling data to be pushed back and forth to and from Word 2007

Page 36: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Mapping Document Mapping Document Properies and SharePoint Properies and SharePoint Data Into WordData Into Word

Page 37: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Server Side ProgrammingServer Side Programming

Use .NET Fx 3.0 to navigate the file formatSystem.IO.Packaging

PackagePackagePartPackageRelationship

Adding a part is as simple as adding a single relationship

Page 38: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Server Side DataServer Side Data--Centric Centric Document GenerationDocument Generation

Page 39: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Additional Resources Part 1Additional Resources Part 1SharePoint Products and Technologies on MSDN

http://msdn.microsoft.com/sharepointhttp://msdn.microsoft.com/office/server/moss

SharePoint Products and Technologies on GotDotNethttp://gotdotnet.com/team/sharepoint

SharePoint User Group UKhttp://suguk.org

Links to blogs, newsgroups, etc.http://blogs.msdn.com/sharepointhttp://www.officezealot.comhttp://www.sharepointblogs.commicrosoft.public.sharepoint.generalmicrosoft.public.sharepoint.design_and_customizationmicrosoft.public.sharepoint.development_and_programming

Page 40: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

Additional Resources Part 2Additional Resources Part 2Office Developer Center

http://msdn.microsoft.com/office

Introducing the Open XML File Formatshttp://msdn2.microsoft.com/en-us/library/ms406049.aspx

W hat‟s new in W o rd 2007http://msdn2.microsoft.com/en-us/library/ms406055.aspx

Page 41: SharePoint 2007 Developer Highlights and Server Processing …download.microsoft.com/documents/uk/msdn/events... · 2018-12-05 · SharePoint 2007 Developer Highlights and Server

© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.