Developing Collaboration Solutions With Access 12 And Windows SharePoint Services “v3” Clint...
-
Upload
riley-duley -
Category
Documents
-
view
217 -
download
0
Transcript of Developing Collaboration Solutions With Access 12 And Windows SharePoint Services “v3” Clint...
Developing Collaboration Solutions Developing Collaboration Solutions With Access 12 And With Access 12 And Windows SharePoint Services “v3”Windows SharePoint Services “v3”
Clint CovingtonClint CovingtonOFF307OFF307Lead Program ManagerLead Program ManagerMicrosoft CorporationMicrosoft Corporation
2
Introducing Access 12Introducing Access 12Allows end users to easily track information, build Allows end users to easily track information, build quick business applications, and collaborate via quick business applications, and collaborate via Windows SharePoint Services (WSS).Windows SharePoint Services (WSS).
Gives professional developers and IT highly RAD, Gives professional developers and IT highly RAD, customized, and easy to manage business customized, and easy to manage business applications that combine the best of the client and applications that combine the best of the client and server.server.
End UsersEnd UsersPower UsersPower Users
Pro Developers / ITPro Developers / IT
Much easier to Much easier to useuse
Out-of-the-box Out-of-the-box appsapps
Easy to add a Easy to add a field, form, and field, form, and reportreport
WSS for WSS for collaborationcollaboration
WYSIWYG authoringWYSIWYG authoringfor forms & reportsfor forms & reports
““Codeless” macrosCodeless” macros
Outlook data Outlook data collectioncollection
Whole new class of Whole new class of apps apps integrated with WSSintegrated with WSS
Rich and reach Rich and reach interfacesinterfaces
Server-side Server-side manageabilitymanageability
Highly RADHighly RAD
Utilize managed codeUtilize managed code
Confident upgrade Confident upgrade pathpath
3
Out-of-the-box templatesOut-of-the-box templatesNew UI including ribbon and navigation paneNew UI including ribbon and navigation paneEasy filteringEasy filteringExtensible templatesExtensible templates
4
New Template File FormatNew Template File Format
ACCDT is based on the Open Packaging ACCDT is based on the Open Packaging Conventions file format Conventions file format
XML describes the manifest and database XML describes the manifest and database properties, table schema, sample dataproperties, table schema, sample data
Text files describe queries, forms, reportsText files describe queries, forms, reports
Getting started shows all ACCDT files in the Getting started shows all ACCDT files in the Office\Templates\[lcid]\Access directoryOffice\Templates\[lcid]\Access directory
Customize, deploy via SMS to different Customize, deploy via SMS to different groupsgroups
SDK for developing templatesSDK for developing templates
5
Import Contacts From OutlookImport Contacts From OutlookData CollectionData CollectionCreating Reports Just Got EasierCreating Reports Just Got Easier
6
Import From OutlookImport From OutlookSub SetWSSProperties()Sub SetWSSProperties()
Dim db As DAO.DatabaseDim db As DAO.Database
Dim td As DAO.TableDefDim td As DAO.TableDef
Set db = CurrentDbSet db = CurrentDb
Set td = db.TableDefs("Customers")Set td = db.TableDefs("Customers")
' Set the WSSTemplateID table property so that the table will migrate to the ' Set the WSSTemplateID table property so that the table will migrate to the right list typeright list type
ChangeProperty td, "WSSTemplateID", dbInteger, 105ChangeProperty td, "WSSTemplateID", dbInteger, 105
' Set the WSSFieldName field properties so that the fields will migrated ' Set the WSSFieldName field properties so that the fields will migrated correctlycorrectly
ChangeProperty td.Fields("ID"), "WSSFieldID", dbText, "ID"ChangeProperty td.Fields("ID"), "WSSFieldID", dbText, "ID"
ChangeProperty td.Fields("First Name"), "WSSFieldID", dbText, ChangeProperty td.Fields("First Name"), "WSSFieldID", dbText, "FirstName""FirstName"
ChangeProperty td.Fields("Company"), "WSSFieldID", dbText, "Company"ChangeProperty td.Fields("Company"), "WSSFieldID", dbText, "Company"
ChangeProperty td.Fields("Job Title"), "WSSFieldID", dbText, "JobTitle"ChangeProperty td.Fields("Job Title"), "WSSFieldID", dbText, "JobTitle"
ChangeProperty td.Fields("Business Phone"), "WSSFieldID", dbText, ChangeProperty td.Fields("Business Phone"), "WSSFieldID", dbText, "WorkPhone""WorkPhone"
ChangeProperty td.Fields("Home Phone"), "WSSFieldID", dbText, ChangeProperty td.Fields("Home Phone"), "WSSFieldID", dbText, "HomePhone""HomePhone"
… …
End SubEnd Sub
7
Import Contacts From Import Contacts From OutlookOutlook
Launches the Outlook Global Address Launches the Outlook Global Address BookBook
RunCommand acCmdAddFromOutlookRunCommand acCmdAddFromOutlook
Save a record as an OutlookContactSave a record as an OutlookContactRunCommand RunCommand acCmdSaveAsOutlookContactacCmdSaveAsOutlookContact
Extensible to developers through table Extensible to developers through table and column propertiesand column properties
Table prop WSSTemplateID=105Table prop WSSTemplateID=105
Field prop WSSFieldID = [field name]Field prop WSSFieldID = [field name]
8
Access Data Engine - ACEAccess Data Engine - ACE
Engine based on Jet code-base and Engine based on Jet code-base and installed with Office, 100% backwards installed with Office, 100% backwards compatible with Jetcompatible with JetConnects to external data sourcesConnects to external data sourcesFoundation for richer support of complex Foundation for richer support of complex datadata
Multi-choice combo box (M-M joins)Multi-choice combo box (M-M joins)Attachments Attachments Append onlyAppend only
Read and write Excel “12” file formatsRead and write Excel “12” file formatsSharePoint ISAM enhancementsSharePoint ISAM enhancementsOM changes to DAO and ACE OLEDB OM changes to DAO and ACE OLEDB provider (ADO)provider (ADO)
9
Complex Data Structures Complex Data Structures Made EasyMade Easy
Many to many joins are difficult to createMany to many joins are difficult to create
Queries are complicatedQueries are complicated
UI metaphors aren’t naturally built into UI metaphors aren’t naturally built into database front-end toolsdatabase front-end tools
10
Complex Data Structures Made EasyComplex Data Structures Made EasyAttachmentsAttachments
11
Linking to Windows SharePoint Services (WSS)Linking to Windows SharePoint Services (WSS)Advertise Access Views In SharePointAdvertise Access Views In SharePointOffline ListsOffline ListsWorkflowWorkflow
12
Getting Data From WSSGetting Data From WSS
Reduces network trafficReduces network traffic
Data is fetched via Web servicesData is fetched via Web services
First request in session downloads all list First request in session downloads all list data, subsequent requests pull changed data, subsequent requests pull changed itemsitems
Lazy population of table on background thread Lazy population of table on background thread provides snappy user experienceprovides snappy user experience
WSS passes a token for last updates, WSS passes a token for last updates, GetListItemChangesSinceToken returns changes GetListItemChangesSinceToken returns changes including deleted itemsincluding deleted items
Change log APIs optimized for synchronizationChange log APIs optimized for synchronization
Use offline for explicit refreshes of the Use offline for explicit refreshes of the cachecache
13
Offline Object ModelOffline Object Model
Use read-only properties to determine Use read-only properties to determine offline stateoffline state
IsOffline TableDef propertyIsOffline TableDef property
HasOfflineTables database propertyHasOfflineTables database property
Use RunCommands to invoke methodsUse RunCommands to invoke methodsacCmdTakeOfflineSharePointListsacCmdTakeOfflineSharePointLists
acCmdReconnectSharePointListsacCmdReconnectSharePointLists
acCmdSynchronizeSharePointListsacCmdSynchronizeSharePointLists
acCmdDiscardChangesSharePointListsacCmdDiscardChangesSharePointLists
acCmdDiscardChangesRefreshSharePointacCmdDiscardChangesRefreshSharePointListsLists
14
WSS Tracking FeaturesWSS Tracking FeaturesTracking improvements to ‘list’ architectureTracking improvements to ‘list’ architecture
Version history for all SharePoint itemsVersion history for all SharePoint items““Append-only” comment fields Append-only” comment fields Multi-valued lookup fieldsMulti-valued lookup fieldsLarge list indexing supportLarge list indexing support
Feature areasFeature areasList history and versioningList history and versioningProject Tasks listProject Tasks listEmail supportEmail supportDistribution list supportDistribution list supportSync APIs for Access and Outlook synchronizationSync APIs for Access and Outlook synchronizationUI extensibilityUI extensibilityAlerts and RSS Alerts and RSS
Updated ‘Issue tracking’ template Updated ‘Issue tracking’ template Integration with Windows Workflow Foundation for Integration with Windows Workflow Foundation for approval or custom workflowsapproval or custom workflows
15
Managed Code In AccessManaged Code In Access
Managed Add-insManaged Add-insImplement Extensibility.IDTExtensibility2 Implement Extensibility.IDTExtensibility2
Managed Task PanesManaged Task PanesImplement ICustomTaskPaneConsumerImplement ICustomTaskPaneConsumer
Expose custom properties in the managed task Expose custom properties in the managed task pane and access through pane and access through Applications.ComAddinsApplications.ComAddins
‘‘Form button that opens a managed task paneForm button that opens a managed task pane
Private Sub cmdOpenTaskPane_Click()Private Sub cmdOpenTaskPane_Click()
Application.COMAddIns(“ManagedTaskPaneAddin.Connect”).Object.taskpaneApplication.COMAddIns(“ManagedTaskPaneAddin.Connect”).Object.taskpaneVisible = trueVisible = true
End SubEnd Sub
16
Programmable Task PaneProgrammable Task PaneeBay Web ServiceeBay Web ServiceExcel service Web serviceExcel service Web service
17
Other Tracking SessionsOther Tracking Sessions
OFF310: Windows SharePoint Services: OFF310: Windows SharePoint Services: Developing Collaboration and Tracking Developing Collaboration and Tracking ApplicationsApplicationsOFF201: Office “12”: Introduction to the OFF201: Office “12”: Introduction to the Programmable Customization Model for the Programmable Customization Model for the Office “12” User Experience (Part 1)Office “12” User Experience (Part 1)OFF302: Office “12”: Developing with the OFF302: Office “12”: Developing with the Programmable Customization Model for the Programmable Customization Model for the Office “12” User Experience (Part 2)Office “12” User Experience (Part 2)OFF322: Building a Solution Using a OFF322: Building a Solution Using a Spreadsheet in Server-Based ScenariosSpreadsheet in Server-Based ScenariosOFF415: Windows SharePoint Services: OFF415: Windows SharePoint Services: Developing Custom WorkflowsDeveloping Custom Workflows
18
SummarySummary
Microsoft is committed to Access as a Microsoft is committed to Access as a developer platformdeveloper platform
SharePoint Services integration allows SharePoint Services integration allows developers to build new types of developers to build new types of collaborative applicationscollaborative applications
Developers can build and deploy Developers can build and deploy tracking templates tracking templates
© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
20
AppendixAppendix
21
New ACCDB file formatNew ACCDB file format
Can be emailed and stored in Can be emailed and stored in SharePoint document librariesSharePoint document libraries
Default for all new databaseDefault for all new database
Supports complex data featuresSupports complex data featuresMultiple value lookupsMultiple value lookups
AttachmentsAttachments
Append onlyAppend only
SharePoint list offlineSharePoint list offline
Office file encryption not Jet encodingOffice file encryption not Jet encoding