Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
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
AgendaAgenda
Part 1ASP.NET IntegrationUser Interface Extensions Collaboration & Tracking FeaturesThe Business Data CatalogMobile Support
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
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)
Master Pages Master Pages PlaceholdersPlaceholders
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
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
ASP.NET ASP.NET IntegrationIntegration
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
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
User Interface Entry PointsUser Interface Entry Points
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
List History & VersioningList History & Versioning
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
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
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
Email IntegrationEmail Integration
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
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)
Outlook SynchronizationOutlook Synchronization
WorkflowWorkflow
Connect business process to itemsWindows Workflow FoundationManual / automatic initiationUser interaction through Workflow forms
Design SharePoint workflows with:Built-inSharePoint DesignerVisual Studio
Simple WorkflowSimple Workflow
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
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
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)
Business Data CatalogBusiness Data Catalog
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
Mobile BrowsingMobile Browsing
AgendaAgenda
Part 2Solutions & Building BlocksOpen XML File FormatContent ControlsOffice XML Data StoreServer Side Document Generation
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
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
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
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
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
Mapping Document Mapping Document Properies and SharePoint Properies and SharePoint Data Into WordData Into Word
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
Server Side DataServer Side Data--Centric Centric Document GenerationDocument Generation
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
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
© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.