SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%     Register today for your FREE 'To The Point' SharePoint eNewsletter
     
     
Skip Navigation Links.
Collapse Office and SharePointOffice and SharePoint
Collapse Newsletter ArchivesNewsletter Archives
Making Document Libraries More Accessible: Scripting Network Places and Network Locations
An Overview of SharePoint Pro Online Live!
Expand SharePoint Backup Strategies SharePoint Backup Strategies
October 16, 2007
Introducing Office and SharePoint Pro
Windows SharePoint Services and Windows Server File for Divorce
What Do You Think? New Products and Addons Forums
Use Kerberos to Secure MOSS 2007
The SharePoint Capacity Planning Tool
Service Packalooza
SharePoint News for the New Year
SharePoint Migration Secrets
SharePoint Replication
Windows Server 2008 and Windows Vista SP1: What They Mean to SharePoint
SharePoint and Forms-based Authentication
The SharePoint Permissions Model
Microsoft Online Services Offers SharePoint to Businesses of All Sizes
SharePoint: What Do YOU Think?
STSADM at Your Service
Adding Templates for Top-Level Sites
Taking the Pulse of the SharePoint Community
Big News on the Collaboration Front from Telligent
SharePoint Report Card: Search
Report from the Microsoft MVP Summit 2008
Summary of SharePoint Scenario Report Cards
Got Yahoo!? I’m so sorry.
Implementing Folder Content Types
License to Fill: Licensing Windows SharePoint Services for the Extranet
Licensing Windows SharePoint Services
News from Tech Ed, Installing WSS on Vista—a Rave and Rant, and More
Tech Ed 2008 Wrap-Up
Great Stuff
MOSS 2007 Applications in the Business World
Microsoft Online Makes a Big Splash in the Services Pool
Comparing InfoPath and SharePoint Designer Forms
Comparing InfoPath and SharePoint Designer Forms, Part 2
Migrating Microsoft Office SharePoint Server 2007 to a Different Server
Microsoft Office SharePoint Server and Excel Services
SharePoint Sharing from Beijing
Olympics Diary
SharePoint’s Role in Bringing the Games to the Web
Email-Enabling SharePoint Document Libraries and Lists
Back to Reality
SharePoint's "Big" Problems
If You Build It Right, They Will Come
Deploying Shortcuts and Favorites to SharePoint Sites
SharePointers
Easy Answers about Document Libraries (Part I): Overriding Check Out
Spiral Development, the 80/20 Rule and SharePoint
SharePoint Calendar Tips
Sharepoint Futures
Excel Services and Excel Integration with SharePoint
My Migration to Microsoft Online
SharePoint Online's Debut
A Microsoft Online Report Card
Links, Links Everywhere...
Creating a Custom Advanced Search by Building Strings with JavaScript
If Steve Ballmer Were Santa, and I Were on His Lap
MVP Predictions for 2009
Expand Office 2007Office 2007
Expand Office 2003Office 2003
Expand SharePointSharePoint
Announcements
     

     

     
     

Comparing InfoPath and SharePoint Designer Forms
ToTheSharePoint Newsletter
July 14, 2008


Dan Holme
Office & SharePoint Pro
Community Manager

Hi from Beijing, where I'm serving as the Microsoft Technologies Consultant for NBC television to help bring the 2008 Beijing Olympic Games to television and the Internet. I've arranged for several guest columnists to fill in for me when I'm not able to write a commentary. This week, in the first part of a two-part series, SharePoint MVP Jeremy Sublett discusses two forms-based technologies for SharePoint.

Enjoy!

Comparing InfoPath and SharePoint Designer Forms
Synopsis: This article compares two different form technologies for SharePoint, InfoPath forms (using Forms Services) and forms created with SharePoint Designer.  Despite different steps, both of these solutions achieve the same thing: browser-based form technology.

Microsoft Office InfoPath and SharePoint Form Services have been touted as the solution for data collection in SharePoint. InfoPath enables power users to develop very powerful input forms and when used with the enterprise version of SharePoint, these forms can be rendered in the browser. There are other options for forms, however. You can create custom web parts, user controls, and application pages that collect information. Another alternative that is relatively easy is to use SharePoint Designer to create forms using the Data View web part. In this article, we’ll take a look at the pros and cons of InfoPath and SharePoint Designer Forms in the context of SharePoint Server 2007.

Before we get too far, let’s briefly discuss what these two tools can do. InfoPath is strictly a forms creation and editing tool. Although it was built with SharePoint in mind, it has the capability to serve as a frontend to applications and can stand alone. With little or no coding, you can use it to build forms that can access many data sources in both a read and write capacity. SharePoint Designer, on the other hand, is a website-editing tool. It can assist the web developer with many tasks. When used in combination with SharePoint, this tool lets you create web-based forms that provide a frontend to SharePoint lists. Let's look closer at these two tools.

InfoPath 2007
InfoPath is a stand-alone product within the Microsoft Office suite of tools. It has been around since Office 2003 and has always provided power users with the ability to develop forms with multiple input elements: text boxes, radio boxes, drop-downs as well as repeating groups/sections of controls. Once you create an InfoPath form, you can publish it to a variety of locations for people to fill out. Although there are other options, SharePoint is a common destination for these forms. Regardless of whether an InfoPath form is published to SharePoint, filling out a form will usually result in an XML file. In SharePoint, this file is what’s stored in a document library. When clicking on an existing XML file produced by InfoPath, users will be presented the form, with the form’s original data.

Until SharePoint 2007 versions came out, all users of InfoPath forms were required to have InfoPath installed, which required a license. Now, users can fill out and edit these same forms through a web browser. This functionality is made possible through a product referred to as Forms Services or Forms Server, depending on the environment. Forms Services comes with Server Microsoft Office SharePoint (MOSS) 2007 Enterprise. Forms Server what you would use with MOSS Standard or Windows SharePoint Services (WSS) 3.0. Forms Server is purchased as a separate add-on to the environment and is essentially the same product as Forms Services.

Creating an InfoPath form and publishing it to SharePoint is a relatively simple task. Once a browser-enabled form has been designed, you can use the Publish command within InfoPath to push the form to a SharePoint document library. In SharePoint, as long as the Enterprise Site and Site Collection features are enabled, you can simply go to the document library and use the form. If InfoPath is installed on the client, the client application will automatically run. If not, the form will render in the browser. This default behavior can be changed by editing the list settings. The following are the steps in more detail.

1. Create your form. Use InfoPath to create a browser-enabled form and choose the layout and controls that will appear on the page, as this figure shows.

Your form might look something like the one in the following figure while editing. Note that you’re adding items manually to a drop-down list for display purposes.

2. Publish the form. Use the publishing wizard from the File menu to push the form into SharePoint. This takes several steps which are fairly self-explanatory. You need to enter the URL of the SharePoint site that you’re going to publish to. In this example, we’ll publish to a new document library called “HR Forms.” Note that you need to select the option to publish browser-enabled forms here.

Note also that you might see a message indicating that the server doesn’t have Form Services installed or enabled. Make sure that both the Site Collection and Site Features titled “Enterprise Features” are enabled. Do this under Site Actions, Site Settings. During the publishing process, you also have the option to promote some of your form elements to be columns on the new document library.

3. Once the form is published and the new document library is created, you can navigate to your SharePoint site. Before you can create a new form, you need to force the form to always render in the browser. Do this in the Settings for the list: Form Library Settings, Advanced Settings.

4. Now you can create a new form and work with it in the browser. No ActiveX controls are used to do the rendering, just HTML and a lot of JavaScript.

Next week, I discuss SharePoint Designer and compare its features with those of InfoPath.

Jeremy Sublett is a software architect and senior partner with Composable Systems, LLC, specializing in SharePoint-based business solutions and is a Microsoft SharePoint MVP. Website



Events and Resources

Integrated Virtualization Done Right
Virtualization not only lets you consolidate servers and reduce operating costs, but also enables more rapid deployment of new application servers, reduces server-maintenance downtime and driver dependencies for new hardware, and assists in disaster recovery. This white paper shows you how to use server virtualization to improve resource utilization and lower operating costs.
http://ct.email.officesharepointpro.com/rd/cts?d=33-10627-982-443-3598-1089852-0-0-0-1-2-196

SharePointConnections Conference Fall 2008
Don't miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).
http://ct.email.officesharepointpro.com/rd/cts?d=33-10627-982-443-3598-1089853-0-0-0-1-2-196

Creating Flexible BI Solutions Using SQL Server 2005 Analysis Services.
SQL Server 2005 delivered major changes, especially to SQL Server's built-in business intelligence (BI) platform, of which SQL Server Analysis Services (SSAS) is a prominent part. The enhancements and new options are compelling reasons for using SSAS. This white paper describes best practices for developing your SSAS 2005 solutions and for moving existing SQL Server 2000 Analysis Services solutions to SSAS 2005.
http://ct.email.officesharepointpro.com/rd/cts?d=33-10627-982-443-3598-1089854-0-0-0-1-2-196

Got SharePoint? Get Specialized Training!
Whether you’re an IT pro or a Developer, master SharePoint with help from the world’s most respected SharePoint experts in three SharePoint workshops built just for you—and presented straight from your desktop! On September 30th and October 1st, Windows IT Pro magazine and OfficeSharePointPro.com bring SharePoint MVPs Dan Holme, Michael Noel, and Andrew Connell direct to you to share their real-world perspective, experience, and expertise so that you can build a better SharePoint infrastructure, develop more effective SharePoint applications, and enable more powerful collaboration. Choose the info-packed sessions that are right for you.
windowsitpro.com/elearning/index.cfm?fuseaction=dynamic&p=5173&eventid=29&code=UPDATE

Access Expert SharePoint Solutions—for only $5.95!
With the online Monthly Pass, you can have all the SharePoint solutions in Windows IT Pro right at your fingertips—access to over 10,000 articles in our content archives! You’ll also receive a full digital copy of the latest issue of Windows IT Pro!
http://ct.email.officesharepointpro.com/rd/cts?d=33-10627-982-443-3598-1089856-0-0-0-1-2-196

 


Office & SharePoint Pro | Penton Media | 249 W. 17th Street | New York, NY 10011 | Privacy Policy