ads

Monday, August 6, 2012

Publish infopath form with code behind

Steps:



  1. After you create your infopath form
Click File -->Publish SharePoint server

And then you will see this wizard window below to provide your site collection URL
  1. Select  the option Administrator –approver form template


  1. Create a folder on the server and give permissions (for the user that publishes the form)
  2. Provide path for saving the form on the server 

  1. Go to central administration-> general application settings
  2. Under InfoPath form service properties select manage form template
  1. Click on upload form template link
  1. Click browse choose your form template and click Upload


  1. After uploading the template wait until the status(column) changes from installing to Ready
  2. On the item menu select the option activate to the site collection




  1. Choose the relevant web application and click OK

  1. Create a form library  under  the relevant site collection
  2. Go to list settings --> advanced settings -->
Set Allow management of content types?  To Yes
  1. Go back to the list Settings-->Add from existing site content types-->choose the form.
 






Do you like this post?
Buy me a cup of coffe to show your appreciation!

1 comment: