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:
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.
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
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).
I click on Site Collection Features under Site Collection Administration.
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
I go to Site Actions>Site Settings
This time I click on Manage site features in the Site Actions heading.
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
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.
I select Blank Form and push the Design form button.
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.
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.
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).
To publish the form template to SharePoint I hit File> Publish
I select SharePoint Server.
I put in the address of my site and push next.
For this example I'll leave these settings as is and hit next.
For this example I'll leave these settings as is and hit next.
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.
For this blog I hit next.
I verify my settings and then hit Publish. (I am prompted for credentials from SharePoint so i put them in (not shown)
I check the box to Open this form library and hit Close.
SharePoint Form Library
I select Documents in the Ribbon and click New Document
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.
I name the file (in this case I named it Important) and hit save.
I hit close.
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.
No comments:
Post a Comment