Deploying InfoPath with Smart Objects

  • 10 January 2013
  • 2 replies
  • 0 views

Badge +1

We have an InfoPath template in SharePoint library without workflow. I’ve successfully integrated template with Smart Objects and now want to deploy my form and K2 data connections back to SharePoint site.


I’m following a great article http://www.k2underground.com/blogs/howtok2/archive/2011/06/17/building-a-k2-process-with-infopath-and-smartobjects.aspx but Studio cannot deploy without workflow.


Is there another way to put just a K2 data connections to SharePoint without handling udcx manually?


 


Any help appreciated. Thanks


 


Michael


2 replies

Badge +8

You can use MSBuild to deploy just the IP form, which in turn, will create the data connections. To do that:


 



  1. Right-click on the Project in K2 Studio and select "Create Deployment Package"
  2. This will generate an MSBuild file under the following folders in the project location:
    objdebugdeployment
  3. Open the msbuild file in Notepad and look for a node called "InfoPath_Process_And_Event_Deployment". It should have a value of True. Set all the other nodes in the PropertyGroup to false. 
  4. Use MSBuild to deploy. Details can be found here:
    http://help.k2.com/en/kb000188.aspx


 This will only deploy the IP Form and the SharePoint bits.

Badge +1

Thanks for advice DC. It works using MSBuild.

Reply