As we all know, infopath is a powerful electronic form creation tool for convenient control management and rule customization. However, it is inconvenient to use infopath on the client, if you can use the web method, it would be better. In SharePoint 2007 Enterprise Edition of MS, the form service function is provided. You can publish the infopath template to the SharePoint site to use the browser function. If you don't talk much about it, please hurry up:
First, create and publish a form template. Open infopath and create an xsn form template, such:
After the design, on the design task panel, click check design solution ----> change the compatibility settings, and select "compatibility" in the category ", check the "design a form template that can be opened in a browser or infopath" option and select "security and trust". At the security level, use the "full trust (the form has access to files and settings on the machine)" option.
Save the template as "reimbursement form. xsn ". Click "file" --> Publish in the tool menu, and select a Sharepoint Server with or without infopath Forms Services, as shown in figure
Next, enter the URL of the published site at the site of SharePoint or infopath Forms Services, for example, http: // cdh10000,
Next, for example, if you select this option, you can enter a form in the browser and select the "form template approved by the Administrator" option,
Next, release the template to a local disk where the form template is located and the file name is specified, for example, "C: \ reimbursement form. xsn ",
Next, "the columns listed below will be available in the SharePoint site and Outlook folder", select the form field for the website to be published, next, publish, and close.
Step 2: Upload the form template to the website and activate it to the relevant site. Open Management Center ----> Application Program Manage ----> infopath form service ----> Manage form template ----> upload form template ----> select form template (C: \ reimbursement form. xsn), upload ----> OK. Return to the management form template page, select the newly uploaded form template, select activate to website set, and select the activation location, such as http: // cdh10000. OK.
Step 3: create a document library and add a new template. Open the website, click "View All website content", click "CREATE"> "document library"> "Reimbursement Form", and click "CREATE. Log on to the document repository as an administrator. Choose Settings> Advanced Settings> content type: whether to allow management. Select "yes" for the content type. The browser documentation is enabled, select "show as webpage" and click OK. Go back to the "Settings" page of the document library and add another content type. Click "add from existing website content type", as shown in:
Select "Reimbursement Form" and click Add ----> OK. At this time, the form is added to the "Reimbursement Form" of the document library. For convenience, you can delete unnecessary document library templates, return to the content type module, and click "document" (redundant template ), set ----> Delete this content type. Now, the steps to release the form template to the site Documentation library are complete. Next, let's take a look at the effect.
Step 3: view the results. Open the Reimbursement Form document library and click "new". The web Effect of infopath is displayed, for example:
You can enter the Form Content, click Save, and enter the name of the saved document. Isn't that cool! Haha...