Danushka Silva

It's all about SharePoint

Publishing InfoPath Form Templates to SharePoint 2007

First you have to design your InfoPath form and publish it. These are the steps.

First you have to make your form as web enabled form. For this, go to Tools ->Form Options. Form Options window will prompt. Select Compatibility from the left pane. Below window will prompt. Select first check box to make browser enable form.

clip_image002[4]

Go to File menu and select Publish

clip_image004[4]

Publishing wizard will prompt. Select the first option. Click Next

clip_image006

Next you type the URL where you want to publish the form. Eg. http://moss or http://moss/sites/departments and click Next

clip_image008

Select the Administrator-approved option and click Next

clip_image010

Type your local path to save the publishing file.

clip_image012

Here you can map your fields as form library columns. For this tutorial I am going to ignore this step since we are not going to map any columns. Click Next

clip_image014

Click Publish

clip_image016

Click Close once you get the success message.

clip_image018

Now we have finished the InfoPath side of work. Open your SharePoint central administration site.

Go to Application Management

clip_image020

Click on Manage form templates in InfoPath Form Services

clip_image022[4]

Click on Upload form template in the Manage Form Templates window

clip_image024

Browse the form template you published earlier. Click Upload

clip_image026

Success message will appear. Click OK

clip_image028[4]

Once you have done this, you will be redirected to Manage Form Templates window. Now you can see your form template in the list.

We have to activate the form template to access from the site collection. Click on the name of the form template and it will open a drop-down menu. Select Activate to a Site Collection to active the form template.

clip_image030[4]

You will get the success message below and click OK.

clip_image032[4]

At this point we have finished uploading the form template. Now we have to activate it from the site collection to enable for users. Go to Site Settings in the Site Action menu

clip_image034[4]

Select Site Collection Features in the Site Collection Administration.

clip_image036[4]

In the Site Collection Features window you can see your form. Click Activate to enable for users.

clip_image038[4]

Now go back to the site and click View all site content -> Create to create a form library. Click on Form Library in Libraries to create.

clip_image040

Type a meaning full name and click Create.

clip_image042

You will be redirect to the newly created form library. Click Setting -> Form Library Settings to view library setting.

clip_image044

Click Advance settings in General Settings to change some settings to make the form view as web page.

clip_image046

Change Allow content types to yes and Opening browser enabled documents to Display as a web page. Click OK

clip_image048

Now come back to Form library settings page and this time it has changed. Click on Add from existing site content types to add your form template.

clip_image050

Select your form template from the left istbox and click Add. Click OK.

clip_image052[4]

No go back to the Form library click New. It will prompt a menu with your form template. Click on it to view your form template.

clip_image054

This will be the final outcome of your form template.clip_image056[4]

Comments

Malith Niromal Livera said:

Thanks nicely explained and easy to understand.....

# August 21, 2009 9:25 PM