Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I automate the process of deploying an InfoPath Form to SharePoint Server 2007?

It is a real pain to deploy my InfoPath 2007 Forms from the designer into our development environment's SharePoint server. All of our forms require "full trust" since they include business logic written in C#. Here are the manual steps:

1) Run the "Publish Form" wizard in InfoPath, specifying the target site to publish to and location to save the xsn file.

2) De-activate the existing version of the form from the site collection features (if an older version exists).

3) Log into Central Admin on the development server. Navigate to Application Management -> Manage Form Templates and upload the xsn file.

4) Activate the form as a site collection feature.

Does anyone have an idea how this can be automated? Maybe via stsadm?

like image 845
Saul Dolgin Avatar asked Sep 18 '08 18:09

Saul Dolgin


People also ask

How do I link InfoPath to SharePoint?

Open InfoPath, click File, click New, then click SharePoint List. Enter the web address of your SharePoint site in the Data Connection Wizard, then click Next. To use an existing list: In InfoPath click Customize an existing SharePoint list then select the desired list, click Finish.

Does office345 support InfoPath?

InfoPath Forms Services on Office 365 will continue to be supported.

What is the replacement for InfoPath forms?

InfoPath let you automate workflows, and it's being replaced by other Microsoft products, including SharePoint Lists, flow, and PowerApps. You can use these in various ways, including digitizing traditional company forms, automating workflows, and when you change business processes.


1 Answers

You can package InfoPath forms in SharePoint solutions (WSP files). These can be deployed by making use of STSADM. For more information:

  • http://blogs.importchaos.com/alonsorobles/2008/06/04/creating-a-sharepoint-solution-for-an-infopath-form-template-deployment/#comments
  • http://www.crsw.com/mark/Lists/Posts/Post.aspx?ID=37
  • http://blah.winsmarts.com/2008-8-Deploying_InfoPath_2007_Forms_to_Forms_Server_-and-ndash_Properly.aspx
like image 91
Jan Tielens Avatar answered Nov 13 '22 19:11

Jan Tielens