InfoPath Development Peter Williams, Ibitec AB
Agenda InfoPath Architecture Develop Forms Deploy Forms Integration
InfoPath Architecture Form Generator Templated approach XML Forms Template Executed Form Views (XSL) Manifest (XSF) Data (XSL) Schema (XSD) Code (dll)
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 ADO SharePoint Libraries
Cracking the Form Package DEMO
Develop Forms Controls Advanced controls Validation Conditional formatting Rules
Develop Forms Business Logic Most Form Development Does Not Need Code XSD, Web Service, Database C# VB.NET CodeDeclarative Rules Formulas Data Validation Data Connections Conditional Formatting Schema
Declarative Business Logic DEMO
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 InfoPath Client (Design Mode) Office SharePoint Server Forms Services Browser Intranet Extranet/Internet Browser 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
Business Logic in Forms DEMO
Form Deployment Restricted Deployed via , 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 Related Session InfoPath Fundamentals
Q&A Presentationer från dagen kommer att läggas upp på: Presentationer från dagen kommer att läggas upp på: