Tom Castiglia Hershey Technologies

Slides:



Advertisements
Similar presentations
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Advertisements

Form Designer & Filler Browser and Client forms Visual Layout Form Logic Data Connection.
UIC Data Conversion and Submission via CDX Node Client UIC Database V2 6/16/
T Sponsors Sameer Chabungbam Principal Program Manager, Microsoft Connector API Apps BizTalk Summit 2015 – London ExCeL London | April 13th & 14th.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
InfoPath Foundations Peter Williams, Ibitec AB. Agenda What are Forms? Form Scenarios Fundamentals Enter InfoPath Alternatives Use Forms InfoPath Enterprise.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Access to Azure EXTENDING OFFICE 365 INTO THE CLOUD George Young Dawson Butte Software SHAREPOINT SATURDAY DENVER 2015 – JANUARY.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Tutorial 11: Connecting to External Data
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Creating a SharePoint App with Microsoft Access Services
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
EDUCATION YOU CAN TRUST ® SharePoint Designer 2010 Course Review Review provided by: DNS Computing Services, LLC
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
© IOZ AG What Design? Visio Shapes Data Graphics Custom Shapes Images Clipart CAD SVG … What Data? SharePoint Excel SQL …
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
1 INTRO TO BUSINESS COMPONENTS FOR JAVA (BC4J) Matt Fierst Computer Resource Team OracleWorld Session
Copyright © 2014, 2015 William R. Vaughn All rights reserved William R. Vaughn.
IMS 4212: Application Architecture and Intro to Stored Procedures 1 Dr. Lawrence West, Management Dept., University of Central Florida
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Sick of InfoPath? Come get sicker… a quick look into developing no-code business forms for the curious cookie Presenter: Hector Perez.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
SharePoint and Open XML Using SharePoint as a Data Source for your custom Open XML Documents Presented by Becky Bertram MCSD, MCAD, MCTS
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Standalone Java Application vs. Java Web Application
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Customization Using SharePoint Designer 2007 Overview Editing look and feel –Master pages.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
Oracle Data Integrator Procedures, Advanced Workflows.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
Slide 1 ASP Authentication There are basically three authentication modes Windows Passport Forms There are others through WCF You choose an authentication.
SQL Injection Jason Dunn. SQL Overview Structured Query Language For use with Databases Purpose is to retrieve information Main Statements Select Insert.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Text Callouts Icon Sets Data Bars Color By Value.
Welcome to Azure App Services! Amie Seisay
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Access Services Introduction & Setup Requirements Kipp Sorensen, Soren Innovations.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Collaborative Planning Training. Agenda  Collaboration Overview  Setting up Collaborative Planning  User Setups  Collaborative Planning and Forecasting.
Learningcomputer.com SQL Server 2008 –Views, Functions and Stored Procedures.
Welcome to Azure App Services! Amie Seisay
IMS 4212: Application Architecture and Intro to Stored Procedures 1 Dr. Lawrence West, Management Dept., University of Central Florida
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTEGRATION.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
SharePoint Fest 2013 Chicago What’s New and Exciting (and not so great) in SharePoint Designer 2013 Workflows Ira Fuchs – SharePoint Technical Specialist,
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Dynamic SQL Writing Efficient Queries on the Fly ED POLLACK AUTOTASK CORPORATION DATABASE OPTIMIZATION ENGINEER.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
ASP.NET Programming with C# and SQL Server First Edition
Integrating SharePoint 2010 with Office 2010
Data Virtualization Tutorial… CORS and CIS
SharePoint Cloud hosted Apps
What Is Sharepoint? Mohsen Ashkboos
Principles of report writing
Building Business Applications in LightSwitch
4/19/2019 1:57 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
PCW-09 Vision: Information Center Approval System
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Presentation transcript:

Tom Castiglia Hershey Technologies

Agenda  Building “web applications” with InfoPath and WCF Services Not just traditional “forms”  Using Data Connections and Rules to connect InfoPath forms to custom services or existing services Short Slide deck  Live InfoPath/SharePoint Demo

Target Audience  Middle Tier Developers Expose your middle tier business logic as a service (cloud or on-premise) Use InfoPath as a RAD tool to easily build web UIs that can easily consume your custom services  End-Users, Business Analysts & IT staff Use InfoPath as a RAD tool to easily build web apps and forms that can easily consume existing services

InfoPath Data Connections The “plumbing” in your InfoPath form Allows you to configure the connections between back-end systems and your form’s UI.

Types of Data Connections SOAP REST WCF Azure Web Services SQL Server ODBC OLE-DB Oracle Databases SharePoint File server XML files Convenient alternative to using a database table SharePoint lists / libraries

InfoPath Rules  Rules are like the application programming logic for your form  Rules can be used to… Pass form data as an input parameter to a data connection Bind the data connection’s return values to other form fields

Types of Rules Specify an error message that will be displayed condition is false Validation Changes “look and feel” of the UI elements (show/hide, color, fonts, etc.) Formatting Connect data connections to your form fields Set input param values from form fields Assign results from back to the fields Action

Why use Data Connections & Rules?  Build rich, functional applications without code  Common examples: Populate a drop-down field with values. Generate unique, incrementing ID values Pre-fill portions of the form with existing data Send data to back-end databases and applications Perform real- time validations of user input Incorporate forms into workflow processes

Data Connection Tip #1 Limited to tables and views Cannot call a stored procedure directly Database connections Requires a developer to implement services WCF is “best-practice” Web Service connections

Data Connection Tip #2  When connecting to WCF services, typically use the “Receive data” option. (Even if your service is used to save, update or delete data.)  Use “Submit data” only when you want to submit (and close) the entire form.

Data Connection Tip #3  When connecting to a WCF service, select the option called “SOAP Web service”.  This applies to any type of service that has a WSDL file (SOAP, WCF, Azure, Java)  You must know the URL for your WSDL if you select this option.

Data Connection Tip #4  You can specify default values for the input parameters of your data connections, if user input is not required.

Data Connection Tip #5  Uncheck the option to “Automatically retrieve data…”  This option is checked by default.  Leave enabled if the data connection does not require user input.

Data Connection Tip #6 This allows connections to be re-used on multiple forms Prevents security warnings from being displayed when form is used Start by setting up data connections Save connections to a Data Connection Library Approve the Data Connections in the library

Demo - Universal auto-incrementing Id  Implement new service using SQL Server WCF (VS2010 & C#)  Easily reusable for all InfoPath forms  This technique is a “best practice”, compared to using SP list ID values or DocumentId

FormCounters (table)  Simple table, with two columns: FormName (VARCHAR (50), PK) FormCounter (INT)  Used to track the counters for any number of different forms

GetIncrementedCounter procedure

Validate that the specified FormName is valid and raise an exception if a bogus value is provided This will save much troubleshooting time down the road when someone accidentally tries to use an incorrect value for the FormName

GetIncrementedCounter procedure To ensure concurrency in a multi-user environment, two things are important: Using a Transaction Proper row level locking UPDLOCK XLOCK

Configuring IIS 7 for a.NET 4.0 based WCF Service If you plan to deploy your service on the SharePoint WFE, then be sure to run that web site on a port other than the port(s) used by SharePoint Make sure the web application is in an application pool configured with.NET 4.0 framework Identity set to the built-in “ApplicationPoolIdentity” Create a new application under your web site to host the service

Configuring SQL Server security Add new windows login to SQL Server: “IIS APPPOOL\DefaultAppPool” Give this account access to the database hosting the FormCounters table Grant Execute Permissions to the GetIncrementedCounter procedure

Create WCF service in Visual Studio 2010 From New Project dialog, select WCF Service Application Define ServiceContract and DataContracts Implement service functionality Build Publish to IIS