Microsoft Excel: A Web Development Tool? Steve Hansen Grid Logic OSP202
SkyDrive & Excel Overview
Excel 2.0 Excel 3.0 Excel 4.0 Excel 5.0 Excel 95 Excel 97 Excel 2000 Excel 2003 Excel 2002 Excel 2007 Excel 2010
Older school… Old school…Not so old school…
SkyDrive – your files whenever and wherever you need them.
demo Steve Hansen Architect Grid Logic SkyDrive and Excel
Embedding Excel
Choose what to display Choose method Set dimensions Specify interactivity Toggle grid lines and column/row headers Preview
demo Steve Hansen Architect Grid Logic Embedded Excel Workbooks
Excel’s JavaScript Object Model
AsyncResult EwaControl NamedItem RangeRangeEventArgs NamedItemCollection EwaControlCollection Sheet SheetCollection WorkbookWorkbookEventArgs
Treat Excel workbooks as programmable objects Source Excel workbook Embedded on web page
Using the JSOM - Initialization var ewa = null; var fileToken = " "; if (window.attachEvent) { window.attachEvent("onload", loadEwaOnPageLoad); } else { window.addEventListener("DOMContentLoaded", loadEwaOnPageLoad, false); } function loadEwaOnPageLoad() { var props = { item: "Chart 1", uiOptions: { }, interactivityOptions: { } }; Ewa.EwaControl.loadEwaAsync(fileToken, "chartDiv", props, onEwaLoaded); } function onEwaLoaded(result) { if (result.getSucceeded()) ewa = result.getEwaControl(); }
demo Steve Hansen Architect Grid Logic Using the JSOM on SkyDrive-hosted Workbooks
Excel has moved beyond the desktop SkyDrive includes the Excel Web App SkyDrive delivers the power of Excel Services to the masses It is easy to embed Excel in external web pages The JSOM API enables developers to treat Excel as a programmable object
Breakout Sessions (session codes and titles) Hands-on Labs: OPS54-HOL - Creating and Publishing an XL Workbook to SP Product Demo Stations: Office 365 S. Hall A Find Me At the Office 365 Demo Station: Wed. 12:30-3:30
Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
Required Slide Complete an evaluation on CommNet and enter to win!
Scan the Tag to evaluate this session now on myTechEd Mobile