Upload
diane-saffell
View
221
Download
0
Tags:
Embed Size (px)
Citation preview
Rich Extensions to SharePoint Applications Using Microsoft Access Andrew Johnson and Gary Devendorf
DEV-B226
Agenda -Tons of Demos Throughout!
• What are Access Web AppMicrosoft Access
• What are “Apps for Office”• Access “Apps for Office”• Value of “Apps for Office”
Apps for Office
• How it all works• Creating an “App for Office” with Visual Studio 2013• APIs, Publishing, Resources
Technical Details
Access Web Apps
What are Access Web AppsSometimes called Access ServicesSharePoint App with SQL backendSimple to create with Access desktop clientFeature of Office 365 Can work with SharePoint on premises
*** The classic Access Desktop app are still moving forward ***
• “Add-ins” of functionality for some Office programs (Word, Excel, Outlook, …)
• Placed within the document or in the task pane• Can use web connectivityApps for
Office
• Fully functioning apps that run on the web within SharePoint
• Hosted on SharePoint sites in the cloud• Access web apps are SharePoint AppsApps for
SharePoint
S
DemoAccess Web App
Andrew
Access SharePoint App with Theme
Apps For Office
What are Apps for OfficeExtensions for your Office applicationMulti-user components based on web technologyHTML, JavaScript, exposed host API interfaceLet’s see some in action
DemoExcel Apps for Office
Andrew
DemoOutlook
Gary
What we saw – Outlook DemoMail app
Word - task pane
Value of “Apps for Office”No DLL Easy to updateEasy to deployEcosystem of AppsMarket placeMulti platform
Access with “Apps for Office”Access now supports Apps for OfficeReleased at the SharePoint Conference 2014 (March 2014)Available in the Office Store (May 2014)
Apps for Office have been around a whileOffice store has Apps for Office Partners are creating Apps for OfficeVisual Studio has templatesLots of samples and documentation
Access – Content only
Application Supported types
Excel 2013•Task pane•Content
Excel Web App •Content
Word 2013 •Task pane
Outlook 2013 •Mail
Outlook Web App •Mail
Project Professional 2013 •Task pane
Supported app types
Demo Shotgun Of Where we have beenFacebookMiles Log
Andrew
Adding an App for Office to a DatabaseAccess Web Apps onlyInsert from App catalogOffice Store – new
Office App Store
DemoHouston BBQStore, Insert, Size
Andrew
Binding an App for Office to a DatabaseConnects you App for Office to specific data in the hostThree Methods for BindingBy NameBy PromptBy Selection
Author needed to save
Demo Houston BBQBinding Data
Andrew
Value of “Apps for Office” for Access Web Apps
Extend the current railed experienceConnect to external systemsVisualize/collect/validate DataEnable more custom solutionsCalling other Office 365 services (ex: workflow)…
Technical Details
App for Office parts
How it all worksManifest fileContains App for Office properties (.xml)
Web pageMust be hosted someplace
APIsFor interaction with host and the webUsing Office JavaScript APIs
Client
Web Page Hosting RequiredVisual Studio for developmentWindow Azure SSLFree hosting with MSDN
Any web server that can be reached by the Access app
Creating an “App for Office” with Visual Studio 2013Use Visual Studio 2013’s new Office templateCreate a Content “App for Office” Edit the Project Template for your needsPublish/Deploy the web pageDebug your app
Demo Create an App for Office VS Project
Andrew
Visual Studio Template Creates….ManifestSample HTML fileSample JavaScript fileLocal Hosting of Web Page
Updating Visual Studio “Microsoft Office Developer Tools for Visual Studio 2013 – March 2014 Update”http://aka.ms/officedevtoolsforvs2013Web Platform Installer and search “Office” or “SharePoint” to find the tools
Developer infoManifestAPIsDebuggingDeploymentStore
ManifestXML file – contains app informationUsed by the Store or App Catalog
Manifest<?xml version="1.0" encoding="UTF-8"?><OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ContentApp"> <Id>DDDDeecc-Ed09-40ff-8bfc-daff4d0e34a9</Id> <Version>1.0</Version> <ProviderName>Office Access</ProviderName> <DefaultLocale>en-US</DefaultLocale> <DisplayName DefaultValue="Bing Maps for Access (EDog Test)" /> <SupportUrl DefaultValue="http://go.microsoft.com/fwlink/?LinkID=257495" /> <Hosts> <Host Name="Database" /> </Hosts> <DefaultSettings> <SourceLocation DefaultValue="https://accessbingmap.firstpartyapps.edog.oaspapps.com/accessbingmap/BingMaps.html" /> <RequestedWidth>800</RequestedWidth> <RequestedHeight>800</RequestedHeight> </DefaultSettings> <Permissions>ReadWriteDocument</Permissions></OfficeApp>
APIsAPI interface to hosting application (Access, Word,…)Access APIs only found in Office.js 1.1
APIBinding promptTo link App for Office to Data in Host
Binding Promptvar sampleDataTable = new Office.TableData(); sampleDataTable.headers = [["From Address","To Address", "Distance Field"]]; sampleDataTable.rows = [["White House", "Seattle", "2716.2"], ["Houston","Dallas","293.3"], ["400 Broad St., Seattle, WA", "1 Microsoft Way, Redmond WA", "13.3"]];Office.context.document.bindings.addFromPromptAsync(Office.BindingType.Table, { id: BindingName, sampleData: sampleDataTable }, BindingHandler);
function BindingHandler(bindingCallback) { if (bindingCallback.status == Office.AsyncResultStatus.Succeeded) { //Binding has been created successfully }}
Binding Prompt
Binding Prompt
APIReading DataUsing Binding Object
Reading Data From the Form
Office.select("bindings#" + BindingName).getDataAsync({ coercionType: Office.CoercionType.Table, rows: "thisRow" },GetDataHandler);
function GetDataHandler(callback) { if (callback.status == Office.AsyncResultStatus.Succeeded) {
var FromAddress = callback.value.rows[0][0]; var ToAddress = callback.value.rows[0][1];
}}
APIWriting DataUsing Binding Object
Setting Data to the Form
function SetDistance(MilesTraveled) {Office.select("bindings#" + BindingName).setDataAsync([[MilesTraveled]], { rows: "thisRow", columns: [PostField] },SetDataHandler);}function SetDataHandler(callback) { //Set Data Callback}
DemoDebugging the Change EventAnd getting the data from the form
Andrew
DebuggingDebugging in BrowserSetting Break PointsStepping through codeUsing Visual Studio’s local hostSSL
DeploymentWeb Page Hosting RequiredVisual Studio for developmentWindow Azure SSLFree hosting with MSDN
Any web server that can be reached by the Access app
StoreSeller’s dashboard
Ideas?Start a workflowValidate Credit Card numbersLook up exchange ratesPayPal, Square, Banking connectionLook up related content (documents, files, pictures)Import current weatherSubmit data…..
Resources MSDN – Route Calculator Walkthrough
Dev. .comOffice
One stop shop for Office Developer Platform
Explore our MSDN Libraryhttp://dev.office.com
Calls to action
Give Feedback Drive our roadmap http://aka.ms/OfficeDevFeedback
Get Answershttp://aka.ms/AskSharePointhttp://aka.ms/AskOffice
Play with our code sampleshttp://aka.ms/OfficeDevSamplesFollow our Patterns & Practiceshttp://aka.ms/OfficeDevPnP
Patterns and practicesProviding App Model Patterns for common Full Trust Code scenarios
30+ Visual Studio projectsCommon scenarios• Branding• Site provisioning• Remote event receivers • Large file support• Taxonomy driven navigation• And much more…
ContributeOpen source coming soon!
aka.ms/OfficeAMS
Related content – BreakoutsOFC-B254 Integrating Yammer and Microsoft SharePoint Using .NETMonday, May 12 1:15 PM - 2:30 PM Room: 350D
DEV-B230 Most Commonly Asked for On-Premises Customizations Reimagined as Applications for SharePointMonday, May 12 3:00 PM - 4:15 PM Room: 350D
DEV-B319 Get Started Developing Applications for Microsoft Office and SharePoint Server 2013 Monday, May 12 4:45 PM - 6:00 PM Room: 332A
DEV-B231 Office Power Hour: New Developer APIs and Features for Applications for Office Tuesday, May 13 8:30 AM - 9:45 AM Room: 381A
DEV-B227 Anyone Can Build a SharePoint Application with Microsoft AccessTuesday, May 13 8:30 AM - 9:45 AM Room: 332A
OFC-B274 Implementing Microsoft SharePoint 2013 Hybrid for Search, Business Connectivity Services, Microsoft OneDrive for Business and YammerTuesday, May 13 1:30 PM - 2:45 PM Room: 360A
DEV-B232 Creating Cloud Hosted Line-of-Business Applications with Apps for Office, Microsoft Office 365, Microsoft Azure, and Windows Phone 8 Wednesday, May 14 8:30 AM - 9:45 AM Room: 340
OFC-B311 A Practical Use of External Data SourcesWednesday, May 14 8:30 AM - 9:45 AM Room: 360A
DEV-B357 Developing Office 365 Cloud Business Applications Wednesday, May 14 5:00 PM - 6:15 PM Room: Hilton L2 Ballrm C
DEV-B387 Deep Dive into Mail Compose Applications APIs Wednesday, May 14 5:00 PM - 6:15 PM Room: 352D
DEV-B386 Setting Up Your On-Premises Environment for App Development Thursday, May 15 10:15 AM - 11:30 AM Room: 320A
DEV-B228 Build Connected Productivity Apps for SharePoint and Office Thursday, May 15 10:15 AM - 11:30 AM Room: Hilton L2 Ballrm C
DEV-B390 SharePoint Power Hour: New Developer APIs and Features for Apps for SharePoint Thursday, May 15 1:00 PM - 2:15 PM Room: 360A
DEV-B389 Who Are You and What Do You Want? Working with OAuth in Microsoft SharePoint 2013 Thursday, May 15 2:45 PM - 4:00 PM Room: 310A
Related contentDEV-B227 Anyone Can Build a SharePoint Application with Microsoft Access
DEV-B231 Office Power Hour: New Developer APIs and Features for Applications for Office
OFC-H203 Creating a SharePoint Application with Microsoft Access Services
Ask the Experts
Office Area - Microsoft Solutions Experience (MSE)
Find Us Later At. . .
Related content – LabsDEV-H207 Developing Applications for Microsoft SharePoint 2013 with Visual Studio 2013OFC-H308 Building Task Pane Applications for Microsoft Office 2013 OFC-H309 Building Visual Studio-Based Workflows in Microsoft SharePoint 2013 OFC-H310 Building Windows 8 Applications with Microsoft SharePoint 2013 OFC-H311 Business Connectivity Services (BCS) for Microsoft SharePoint 2013
Related content – Exam Prep EXM04 Exam Prep: 70-331 and 70-332 MCSE: SharePoint (Microsoft SharePoint Server 2013)Tuesday, May 13 8:30 AM - 9:45 AM Room: Hilton L2 Ballrm F
Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.
MSDN Subscribers get up to $150/mo in Azure credits.
Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!
http://aka.ms/msdn_teched
3 Steps to New Gear! With Application Insights
1. Create a Visual Studio Online account http://visualstudio.com
2. Install Application Insights Tools for Visual Studio Online http://aka.ms/aivsix
3. Come to our booth for a t-shirt and a chance to win!
VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!
ResourcesMicrosoft Engineering Stories
How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories
Visual Studio Industry Partner Program
Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com
Visual Studio | Integrate
Create Your Own Dev Environmenthttp://integrate.visualstudio.com
Development tools & services for teams of all sizeshttp://www.visualstudio.com
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
Contact:Gary DevendorfAccess PM [email protected]
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Rich Extensions to SharePoint Applications Using Microsoft Access Andrew Johnson and Gary Devendorf
DEV-B226