210 likes | 345 Views
InfoPath Development. Peter Williams, Ibitec AB. Agenda. InfoPath Architecture Develop Forms Deploy Forms Integration. InfoPath Architecture. Form Generator Templated approach. Template. Views (XSL). Manifest (XSF). Code (dll). Data (XSL). Schema (XSD). Executed Form. XML Forms.
E N D
InfoPath Development • Peter Williams, Ibitec AB
Agenda InfoPath Architecture Develop Forms Deploy Forms Integration
InfoPath Architecture Form Generator Templated approach Template Views (XSL) Manifest (XSF) Code (dll) Data (XSL) Schema (XSD) Executed Form XML Forms
InfoPath Architecture XML everywhere Forms (XML) Views (XSL) Manifest (XML) Web Service Support (WSDL, SOAP) Data Sources (XSD) Default Data (XML) Data Sources XML Web Services Email ADO SharePoint Libraries
Develop Forms Controls Advanced controls Validation Conditional formatting Rules
Develop Forms Business Logic Code C# VB .NET Rules Formulas Data Validation Data Connections Conditional Formatting Declarative Most Form Development Does Not Need Code XSD, Web Service, Database Schema
Template Parts Reusable chunks of forms Auto update across solutions Supports Formatting and control properties Main data source, secondary data connections Rules, Data Validation, Conditional Formatting Formulas/Calculations Caveats No Code
Template Parts DEMO
Develop Forms Browser Enabled Forms Intranet Extranet/Internet Browser Browser Office SharePoint Server Forms Services InfoPath Client (Design Mode) InfoPath Client (Edit Mode) InfoPath Client (Edit Mode)
Develop Forms Design Once Design Checker Conditional formatting, validation, rules, calculations, form code (new managed OM), data connections run unchanged Offline, custom ActiveX controls, master detail, task pane, script based code Cross browser and cross platform support IE, Mozilla, Safari, Netscape Windows, Macintosh, Unix, Linux Mobile devices
Browser Forms DEMO
Develop Forms Extend UI Custom Task Pane Menus Toolbars Business logic C#, VB Scripts Tools VSTO VSTA Object Model (OM) Pure Managed – No PIA’s
Form Deployment Restricted • Deployed via email, no auto-updates • No data connections, no managed code • Not applicable for browser forms Domain • Deployed to SharePoint library, browser forms • Connect to own server only, no code for browser forms • Use trusted Data Connection Library for cross-domain Full Trust • Installed, Digitally Signed, or .NET Code Group • Must be admin-deployed for browser forms • Connect to any server, managed code in browser forms
Form Integration Hosting Forms Word Windows Forms Web Forms Import Framework Template Importing Data Importing
Hosting Forms DEMO
Take Aways It’s all XML Easy declarative development Powerful .NET extensions Great tool support Design Once
Resources InfoPath 2003 SDK 2007 version yet to be released InfoPath Developer Center http://msdn.microsoft.com/office/program/infopath/2007/default.aspx Related Session InfoPath Fundamentals
Q&A Presentationer från dagen kommer att läggas upp på: www.microsoft.com/sverige/partner/education/