The following steps to deploy the info path forms in the SharePoint 2010
server.
1. Go to the relevant server and login as farm admin
2. Locate the folder of the info path forms
3. Right click the info path
form and click design
4. After form opened, Go to Actions (bottom of the info form page) and click
Managed Data Connections
5. Data Connection pop up appeared and choose the relevant template data
connections like Department (Work order Forms)
6. Click modify and enter the URL (where do you want to deploy it meaning which
site collection do you want to deploy it) then click Next
7. Add follow the above attached file for step by step.
8. After, click finish button, Go to file and click publish
9. Click SharePoint Server (Publish form to a SharePoint Library)
10. The publishing wizard pop will upper and enter the URL (where do you want
to deploy it meaning which site collection do you want to deploy it) then click
Next
11. Finally click finish and the form has successfully published in the
SharePoint Library
12. After that, close info path designer
13. Go to start and open the SharePoint 2010 management shell (Power Shell)
14. Type the following comments to uninstall the earlier version of info path
forms or existing solution (if any)
Uninstall-SPInfoPathFormTemplate
-Identity form.xsn (It is your info path name like
Yourform.xsn)
15. Type the following comments to install the info path forms or new
solution
Install-SPInfoPathFormTemplate -Path
C:\form.xsn (path, its specified where did you copied the file
when you published in the point 11.)
16. Optional features (Disable feature on site collection level)
Disable-SPInfoPathFormTemplate -Identity
form.xsn -Site http://YourSPSite
17. Optional features (Enable feature on site collection level)
Enable-SPInfoPathFormTemplate -Identity
form.xsn -Site http://YourSPSite
18. After install the info path form, Browse the relevant site and go to Site
Actions, View all site content, Document library, click Documents
19. In the Library Tool, go to library and click Library Settings
20. In General settings, Click Advanced settings
21. In Content Types, Allow management of content types? Choose Yes and
then click ok.
22. In the content Types section, Click Add from existing site content types
23. In the select content types, Choose the relevant content type (like
Workorderform) from the Available site content types then click Add and
ok button.
24. In the link page. Click Edit the page button then Copy and paste the below
URL to open the info path form in the browser link like NEW WORK ORDER FORM
https://YourSPSite/WorkOrderForms/_layouts/FormServer.aspx?
XsnLocation=https://YourSPSite/FormServerTemplates/WorkOrderForm.xsn&SaveLocati
on=https%3A%2F%2Fwww%2EYourSPSite%2Emn%2FWorkOrderForms%2FWorkOrd
erForms&ClientInstalled=true&Source=https%3A%2F%2Fwww%2EYourSPSite%2Emn
%2FWorkOrderForms%2FWorkOrderForms%2FForms%2FAllItems%2Easpx&DefaultIte
mOpen=1
Here you have to change the below
URL - https://YourSPSite (It
should be your site URL)
WorkOrderForms – Your form name and published name like your site/form
relevant name in the point 11
WorkOrderForm.xsn - Your info path form name (where did you published
form in the local machine in the point 11)
Finally, Browser the form and it will open your browser. We are done. That’s
it…
No comments:
Post a Comment