Publish Infopath 2010 form to Sharepoint 2010

In InfoPath 2010, forms with code can now be published directly to SharePoint without requiring the farm administrator to approve and upload them! This means any Site Colletcion administrator can Publish the forms as sandbox solutions as long as Sandbox service is turned on.

After you are ready with your form design and code you can follow the steps below for Publishing

  1. Open the Publishing Wizard by clicking the File tab, clicking Publish, and then clicking SharePoint Server.

  2. On the first screen of the Publishing Wizard, type the URL of a SharePoint Server that you have at least Contribute rights to, which means that you can add and delete content on the site, and then click Next.

  3. On the second screen of the Publishing Wizard, keep the default settings of Enable this form to be filled out using a browser and Administrator-approved form template (advanced), and then click Next.

  4. On the third screen of the Publishing Wizard, type a location and file name for the form template (.xsn) file. This can be on your local hard disk, a network file share, or a Web server. Click Next.

  5. On the fourth screen of the Publishing Wizard, click the Add button to select fields from the form template that will be shown as columns in the form library and in Outlook folders. You can also select fields that will be available as SharePoint Web Part connection parameters, if the form is displayed in the InfoPath Form Web Part. Both of these field selections are optional. After you are finished, click Next.

  6. On the last screen of the Publishing Wizard, click Publish. This saves your form template (.xsn) file to the location that you specified. It is now ready to be uploaded to the server.


To upload a form template to a server that is running InfoPath Forms Services


  1. Open the SharePoint 2010 Central Administration site.
  2. Under General Application Settings, click the Manage form templates link.

  3. Click the Upload form template link near the top of the page.

  4. Click the Browse button to open a dialog box, and enter the path of the published form template.

  5. Click the Verify button to verify that the form template has no errors. This step is optional.

  6. Click the Upload button to upload the form template to the site. After uploading is finished, click the OK button.

0 comments:

Post a Comment

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .

Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.

@ Learning SharePoint.com