Download presentation
Presentation is loading. Please wait.
Published byCassandra Ray Modified over 9 years ago
1
OFC311 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 1 Tudor Toma Group Program Manager Office Microsoft Corporation
2
Customer challenges inefficient data gathering process Custom data gathering solutions can be expensive Data is hard to reuse across business processes Addressed by InfoPath User-friendly environment for entering data Easy and rapid design of rich “forms” Built natively on top of XML InfoPath 2003 Vision “Enable information workers to easily gather and re-use information as part of a business process.”
3
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
4
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
5
Form Template.XML Manifest(XSF) Views(XSLT) Schema(XSD) DefaultData(XML) Business Logic (JS, DLL) InfoPath Form Template (XSN) URL or URN
6
Manifest File
7
XML Structural Editing Building an XML Document demo demo
8
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
9
XML Structural Editing Building an XML document salesReport customers customer items item actions customer items item
10
XSF – Structural Editing …
11
XML Structural Editing InfoPath Form = sections of data Sections may be Optional Repeating Replace with Contextual UI Form always valid per schema Adding/removing sections =XML tree operation
12
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
13
Data Validation Schema-based, Declarative, Script-based demo demo
14
Data Validation Developers can write Event handlers attached to events on XML DOM changes DeclarativeConstraint XML Schema Script-based Expressive Power ExpressivePower Complexity UI and programmatic changes must conform to the XML schema Developers can define custom validation rules on any node expressed as XPath predicates
15
Data Validation Declarative constraints in the XSF <xsf:errorCondition match="/…/emailAddress" expressionContext="." expression="not(contains(., "@"))"> <xsf:errorMessage type="modeless" shortMessage="Invalid address"> Please insert an email address
16
Data Validation Script-based XSF: <xsf:domEventHandler handlerObject="msoxd__item“ match="/salesReport/customer/items/item" /> Script.js: function msoxd__item::OnAfterChange(eventObj) {... }
17
Data Validation Script-based: DOM Editing Events ROOT items Totals item item totalunitPrice sold Bubbling trace Updated node Xml Tree Editing events item::OnValidate() item::OnAfterChange() item::OnBeforeChange() DataDOM Event Site = item Source = sold Operation = Update OldValueNewValueReportErrorReturnStatusReturnMessage
18
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
19
Multiple Views XML DOM XSL-T 1 XSL-T 2
20
Multiple Views demo demo
21
Multiple Views Defined in XSF … …
22
Today’s Topics InfoPath 2003 Platform Services The Manifest File XML Structural Editing Data Validation Multiple Views Task Pane
23
Task Pane demo demo Adding a custom Taskpane
24
TaskPane Defined in XSF <xsf:taskpane caption=“My Task Pane“ href="taskpane.htm" />
25
Summary InfoPath 2003 provides… Structural editing components that enable complex XML tree operations through an easy to use UI for end-users Declarative and script-based Data Validation beyond what schema-based validation provides Multiple XSL based views on the same XML data tree Customizable Taskpane
26
Ask The Experts Get Your Questions Answered Talk one-on-one with a community of your peers Who: Microsoft product teams, consultants, and Tech · Ed speakers Where: In the ATE area of the Exhibit Hall Hours: Wednesday, July 2 nd : 15:00-17:00 Thursday, July 3 rd : 15:00-17:00
27
Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx
28
Suggested Reading And Resources The tools you need to put technology to work! TITLE Available Microsoft® Office 2003 Resource Kit: 0-7356-1880-1 9/24/03 Microsoft Press books are 20% off at the TechEd Bookstore Also buy any TWO Microsoft Press books and get a FREE T-Shirt
29
evaluations evaluations
30
Appendix…
31
Office 11 Is the Premier “Smart Client” for XML Web Services Data Analysis Tabular, largely numerical data for calculations and analysis Data best presented in a grid Content Authoring Large areas of text or mixed content Flexible layout and formatting with XML markup Reporting & Storing Numerical or textual fields Relational tables in databases Information Gathering Highly structured, grouped information Form-like with few paragraphs of formatted text AccessExcel WordInfoPathFrontPage Data Driven Web Sites Tabular or hierarchical data inserted into web pages Expanded data reach
32
© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.