08 October, 2011

Publish a InfoPath 2010 form to Form Library in SharePoint 2010

How to Publish an InfoPath 2010 form to Form Library in SharePoint 2010

When you are finished designing a form template, you must publish it so that users can fill out forms based on the form template.

While publishing an InfoPath form, we have multiple options available such as
1)     Quick Publish: Publish form to current location
2)    SharePoint Server: Publish form to a SharePoint Library
3)     E-mail: Publish form to a list of e-mail recipients
4)    Network Location: Publish form to a network location or file share

In this part, we will see How to publish an InfoPath form to a SharePoint Library
Please refer the step by step details and your form will be published to the SharePoint library without any problems:
  • Click File.
  • Click Publish.
  • Click SharePoint Server



  • Enter the Web address of the SharePoint site in the text box.
  • Click Next
  • Select how to publish the form
  • Select Form 
  • Click Next
  • Click a pre-existing form library for the InfoPath form if one has already been created or click Create a new form library to create a new one.
  • Click Next
  • If you are creating a new SharePoint library, enter the name of the library in the Name text box and a description for the library in the Description text box.
  • Click Next
  • To display data from your form as a column in the form library, use property promotion. To do this, click Add, select a desired field, and then type a name for the column in the Column name box.
  • If you selected a repeating field, click a value in the Function list to define how to display the field in the form library, and then click OK.
  • Click Next.
  • Click Publish.
If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than HAPPY 2 HELP AS WELL AS RESOLVES UR ISSUES


References:

9 comments:

  1. Hi, your post was helpful. I have a follow up question: once the form is published to the library, how can I modify the columns? I notice I cannot change it within SharePoint's modify view as regular column. I'm using SharePoint 2010.
    Thanks.

    ReplyDelete
  2. When we published the infopath form to the SharePoint form library then the number of fields/columns present in the form gets published as it to that form library on which we are publishing.

    if you need to do any changes then modify the infopath form and republished it again. whatever changes you will modified in the form, that will gets reflected as it is as soon as the form re-publishing successful.

    Thanks for your patience. Please let me know in case of any further queries/questions.

    ReplyDelete
  3. Thanks for your quick response. I was able to add and remove a copy by republishing, but wasn't able to rename a column. Do you know what the issues could be?

    ReplyDelete
  4. Actually, I found a workaround of sorts. I removed the field from Form Options > Promoted Property, and then added it back and renamed it before re-publishing. It worked.

    ReplyDelete
  5. can i publish the same form into document library and network location

    ReplyDelete
    Replies
    1. Yes, you can publish the form to document library named as Form Library.

      Please let me know in case of any queries/questions, Thank you.

      Delete
  6. Hello,

    I just upgraded to office 2013, I am trying to publish a simple form and I get an error "The following url is invalid". Any Idea?
    The form worked perfectly fine before the upgrade

    ReplyDelete
    Replies
    1. Please correct me if i am wrong/convey me the info:
      You are using SharePoint 2010 site along with Office 2013?

      please follow these recommendations:
      - make sure that there is no space in the URL
      - make sure that you are not using default.aspx while publishing infopath forms

      let me know in case of any queries. please keep me posted so that we can resolve your issue....

      Delete
  7. Hi
    i have url of sharepoint server 2010
    like this

    http://10.110.0.03:81/SitePages/Home.aspx
    it has port name

    and its saying invalid url when i publish

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.