Publish a Form with InfoPath Forms Services for SharePoint 2010

Home > Blogs > SharePoint > Publish a Form with InfoPath Forms Services for SharePoint 2010

Publish a Form with InfoPath Forms Services for SharePoint 2010

Like This Blog 0 Spike Xavier
Added by September 19, 2012

In this blog I will go through the process of creating and then publishing a simple form to be used as a template in SharePoint 2010 using Forms Services. This feature is only available in the Enterprise Version of SharePoint 2010.
I will perform the following steps:

1. Ensure the Forms Services Feature is enabled at the Site Collection and Target Site level.
2. Create the form in Info Path Designer 2010
3. Publish the form to SharePoint.
4. Test the form in the browser.

Site Collection Features

SiteCollectionFeatures-1.png

From the home page of the top level site of a site collection I choose Site Actions>Site Settings (I am a site collection administrator).

SiteCollectionFeatures-2.png

I click on Site Collection Features under Site Collection Administration.

SiteCollectionFeatures-3.png

I scroll down to the Site Collection Features and verify that the SharePoint Server Enterprise Site Collection features feature is activated, which it is by the blue Active icon.

Site Features

SiteFeatures-1.png

I go to Site Actions>Site Settings

SiteFeatures-2.png

This time I click on Manage site features in the Site Actions heading.

SiteFeatures-3.png

I verify that the SharePoint Server Enterprise Site Features is activated. (Which it is). Now that I have verified that Forms Services is activated correctly I'm ready to design my form. Since the focus is on how to get the form into SharePoint as a template I will keep the form very, very simple.

InfoPath

InfoPath-1.png

I open up Microsoft InfoPath Designer 2010. There are now two parts to Info Path. Designer and Filler. Since I am designing a form I use Designer.

InfoPath-2.png

I select Blank Form and push the Design form button.

InfoPath-3.png

For the purposes of this blog I will simply change the Form title. Info Path Form designing is a powerful skill to have. Normally when I am designing an info path form I start with building out the Schema and then drag the main sections onto the Form to build out the controls. In this blog I am focusing on the process of publishing the form I design into SharePoint to be used as a template so I'm keeping it really, really simple.

InfoPath-4.png

At this point optionally I can save the form template. I normally do in case I want to make some changes later on, so I click the Save Icon.

InfoPath-4_1.png

At this point optionally I can save the form template. I normally do in case I want to make some changes later on, so I click the Save Icon. I save the form template (.xsn) file to my desktop (not shown).

InfoPath-5.png

To publish the form template to SharePoint I hit File> Publish

InfoPath-6.png

I select SharePoint Server.

InfoPath-6_1.png

I put in the address of my site and push next.

InfoPath-7.png

For this example I'll leave these settings as is and hit next.

InfoPath-8.png

For this example I'll leave these settings as is and hit next.

InfoPath-9.png

When SharePoint executes this process it's going to create a new form library for me and use my form template as the template for that library. I'll call this library 'importantLibrary' and hit Next.

InfoPath-10.png

For this blog I hit next.

InfoPath-11.png

I verify my settings and then hit Publish. (I am prompted for credentials from SharePoint so i put them in (not shown)

InfoPath-12.png

I check the box to Open this form library and hit Close.

SharePoint Form Library

SharePointFormLibrary-1.png

I select Documents in the Ribbon and click New Document

SharePointFormLibrary-2.png

My Important Form opens in the Browser. If I had any fields I could fill them out here. (The fields would be columns in SharePoint. ) Since i don't I just click Save.

SharePointFormLibrary-3.png

I name the file (in this case I named it Important) and hit save.

SharePointFormLibrary-4.png

I hit close.

SharePointFormLibrary-5.png

That's it. The focus of this blog is on publishing a form template to SharePoint 2010 using Info Path Designer 2010 and Forms Services.

Enjoy!
Spike Xavier
SharePoint Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Cable Testers and How to Use them in Network Environments

0 692 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments

How to Build in a PSMethod to your PowerShell Code

0 71 0

In this video, PowerShell instructor Jason Yoder shows how to add Methods (PSMethod) to your code using free software that’s added into the PSObject. For instructor-led PowerShell courses, see our course schedule. Microsoft Windows PowerShell Training Download the Building Methods PowerShell script</a> used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ Building Methods ║ ╟──────────────────────────────────────────────────────────────────────────────╢ … Continue reading How to Build in a PSMethod to your PowerShell Code

How to use AWS CloudFormation templates to automate solutions inside Amazon AWS

0 380 0

  In the AWS Class here at Interface, we actually build fully automated solutions with AWS CloudFormations. Here’s an overview of using AWS templates using CloudFormation. CloudFormation is basically an “infrastructure-as-code tool” where you can go into a declarative document and define all the resources that you want and feed the document into the CloudFormation … Continue reading How to use AWS CloudFormation templates to automate solutions inside Amazon AWS

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.