OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.

Slides:



Advertisements
Similar presentations
Visual Scripting of XML
Advertisements

DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Windows Forms 2.0 – ClickOnce Stephen Turner Software Design Engineer
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
1 1 Roadmap to an IEPD What do developers need to do?
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Ian Palangio - Microsoft Product Specialist, InfoPath MVP Ben Walters - SDM Solution Specialist – Portals and Collaboration.
Matt Ayers Senior Program Manager Microsoft Corporation WCL403.
DEV317 Integrating Extensible Business Graphics into Enterprise Applications using Visio 2003 Mai-lan Tomsen Bukovec Program Manager.
OFC 322 Building Office Research Web Services: Exposing Corporate Data Through Office Brian Jones Program Manager Authoring Services Martin Sawicki Lead.
DEV334 Creating Application Starting Points & Sharing Best Practices with Enterprise Templates Marc Gusmano Director of Emerging Technologies The Information.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
Microsoft Office Project Desktop Development Marcel Parent Program Manager Project Microsoft Corporation.
| | Tel: | | Computer Training & Personal Development Microsoft Office PowerPoint 2007 Expert.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
OFC 200 Microsoft Solution Accelerator for Intranets Scott Fynn Microsoft Consulting Services National Practices.
Using the Actions Pane, Host Controls, and Smart Tags
DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation.
OFC293 Microsoft Office Access 2003 Overview SharePoint & XML Integration Richard Dickinson Program Manager.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
OFC312 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 2 Tudor Toma Group Program Manager Office Microsoft Corporation.
OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.
Slide 2 The Microsoft Office Project 2003 Software Development Kit Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation Uma.
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
OFC290 Information Rights Management in Microsoft Office 2003 Lauren Antonoff Group Program Manager.
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
Migration from Software Update Services to Windows Server Update Services Jeff Alexander IT Pro Evangelist Microsoft Australia Scott Korman WSUS MVP SEC316.
OFC 307 Office 2003 Solution Case Studies Ray Stephenson Smart Client Technical Evangelist
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
Paul Butterworth Management Technology Architect
IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.
EBZ319 Building Enterprise Web Sites Using MCMS 2002 Daniel Kogan Program Manager CMS Group Microsoft Corporation Pat Miller Developer CMS Group Microsoft.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
EBZ 321 Extending CMS 2002 Publishing Processes Scott Fynn Microsoft Consulting Services National Practices.
OFC291 Microsoft® Office Word XML (part 1 of 3): Introduction Martin Sawicki Lead Program Manager.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant.
EBIZ327 InfoPath and BizTalk Server 2004 Scott Woodgate Jupiter Product Planner.
MSG331 Exchange Server 2000/2003 Software Development Kit Susan Hill Lead Programmer Writer Microsoft Corporation.
DAT300 SQL Server Notification Services: Application Development Ken Henderson Technical Lead, SQL Server Support Microsoft Corporation
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Microsoft Office 2007 InfoPath Forms Solutions Reach more users with better forms Streamline data-driven business processes Rapidly develop and deploy.
InfoPath Development Peter Williams, Ibitec AB. Agenda InfoPath Architecture Develop Forms Deploy Forms Integration.
OFC311 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 1 Tudor Toma Group Program Manager Office Microsoft Corporation.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
InfoPath: Developing Forms Using Managed Code Dan Green Paradigm Logic CLI312.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
Packaging and Deploying Windows Applications
Integrating ArcSight with Enterprise Ticketing Systems
Integrating ArcSight with Enterprise Ticketing Systems
SECTION 1: Add-ons to PowerPoint
Visual Studio Tools for Office 2005
Searching Business Data with MOSS 2007 Enterprise Search
Microsoft PowerPoint 2007 – Unit 2
Windows Forms in Visual Studio 2005: An in-depth look at key features
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Contexualized Data In Document Authoring
Presentation transcript:

OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager

Agenda Demo: Smart Document in Action What are Smart Documents? Demo: XML Document Preparation Demo: Deployment Manifest Demo: Business Logic Code Smart Document Security Useful hints and troubleshooting Goal: Learn how to make XML-powered Smart Document solutions in Office 2003

Smart Document in Action Martin Sawicki Lead Program Manager Authoring & Collaboration Svcs. demo demo

What are Smart Documents? The doc knows how to download the appropriate solution on-demand The doc interacts with the user in a helpful manner The doc is aware of the user’s context and provides relevant assistance The doc understands the business process it is part of (where to go next) The doc can tell when its contents are not valid This document is a Smart Document

Smart Document as a Deployment Mechanism On-demand installation of solutions No need for code in the document or template No need to install manually on each user’s machine (also: auto update) Associates solution components with individual documents or classes of documents based on XML namespaces Can install schemas, XSLTs, Smart Document Task Pane code, SmartTags, COM-Addins, templates, etc

Smart Document as a Solutions Platform Hide XML from the user, show user-friendly UI instead Programmable, interactive, XML context- driven task pane in Word and Excel COM (VB or C++) or.NET (VB.NET, C#)

Building Key Smart Document Components Document or Workbook XML Schema

XML Document Preparation Martin Sawicki Lead Program Manager Authoring & Collaboration Svcs. demo demo

“XML-ized” Document To get started, you need: Customer defined XML Schema (XSD) Word: Document marked up with XML from schema Learn more: OFC291, OFC303, OFC308 Excel: Workbook with schema mappings Learn more: OFC304, OFC305

Building Key Smart Document Components Document or Workbook XML Expansion Pack (Manifest) XML Schema

Deployment Manifest demo demo Martin Sawicki Lead Program Manager Authoring & Collaboration Svcs.

What is an XML Expansion Pack? (a.k.a. Manifest) XML file describing components of solution and their location Allows on-demand solution download and activation No MSI or other setup packaging needed Centralized solution maintenance

Schema Library The XML Namespace is very important Schema Library = central registry on user’s computer keeping track of links between XML namespaces and… XML schemas XSLT transforms Smart Doc solutions XML Namespace Schema Library Schema files (XSD) XSLT Transformations Smart Doc Solutions

Smart Documents and the Schema Library XML Expansion Packs (manifests) are a way to set up the user’s schema library (…Also, they are a way to write into other places in the registry, e.g. smart tags installation)

Building Key Smart Document Components Document or Workbook XML Expansion Pack (Manifest) XML Schema Other Files Compiled Task Pane Logic

Smart Doc Flow Diagram User opens document Manifest-driven components download/installation/update Business logic initialization/ Task pane description User Interaction Loop/ Task pane refresh

Business Logic Code demo demo Martin Sawicki Lead Program Manager Authoring & Collaboration Svcs.

Business Logic Details Task Pane Initialization 1. How many XML types supported by solution? 2. For each XML type: a. Describe it (caption, element name) b. How many controls? c. For each control: a. What is it? (Button? Checkbox? Radio group? Doc fragment thumbnail? Help text? etc) b. Specify initial contents

Business Logic Details Task Pane Refresh 1. Solution code called whenever: User’s XML selection context changes User clicks control in task pane 2. For each XML type in current context: a. For each control: a. Modify caption, value, state… b. Modify contents

Smart Document Security XML Expansion Packs (Manifest files) Policy-controllable settings Manifest must be signed XML signing tool in Office SDKs Manifest signature must be trusted Manifest must be from trusted site User warned before download and use of solution

Smart Document Security Executable code Downloadable code subject to Office security settings DLL signing.Net Assembly security XSLTs must be signed to run script

Documentation Smart Document SDK Detailed documentation Samples Tutorials Schemas Available soon after release of Office 2003 (beta versions available for the betas)

Useful Hints… Syntax of XML type name: # E.g: financial-report#Date Special XML type names: To display task pane content when outside root element: #actionPertainsToEntireSchema E.g: financial-schema#actionPertainsToEntireSchema To display task pane content regardless of XML schema namespace: default … and specify actionHandler as file type in the manifest (not solutionActionHandler)

More Useful Hints… When installed on user’s machine, smart document associations with XML namespaces are in the registry [HKCU|HKLM]\Software\Microsoft\SchemaLibrary The document’s reference to its XML expansion pack is stored in Custom Properties: Solution ID – id of the solution Solution URL – location of the manifest

Troubleshooting Manifests Make sure the file paths in the manifest are correct Make sure the manifest is valid (manifest schema to be available in the SDK) Make sure the manifest is signed and the signature is trusted Check you smart doc hasn’t been automatically disabled as a result of previous crashing (Word’s self-defense) under: HKEY_CURRENT_USER\Software\Microsoft\Office\Common\ SmartTag\Actions\ under Word (OpusApp) and XL (XLMain) Values: Crash = 2, Enabled = 1, Disabled = 0 If managed, then make sure your managed key is 1 not 0 at HKEY_CURRENT_USER\Software\Microsoft\Office\Common\ SmartTag\Actions\

Community Resources Most Valuable Professional (MVP) Newsgroups Converse online with Microsoft Newsgroups, including Worldwide User Groups Meet and learn with your peers

evaluations evaluations

© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.