Automate the publshing process to a network location - InfoPath Dev
in

InfoPath Dev

Automate the publshing process to a network location

Last post 12-02-2008 12:50 PM by bobparker. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-01-2008 03:13 PM

    Automate the publshing process to a network location

    I have a custom infopath form for the document information panel in Word. It has nothing to do with SharePoint and is being populated by a web service. The whole project is scripted for deployment. Therefore, I do not want to right-click --> deploy. I have not found a way to automate this. All I need is a way to publish to a local drive without using the wizard.

    An idea: here is a blurb from a blog post. If anyone has any specific direction on how to do this, this may work:

    The InfoPath design mode doesn't support automation. However, "publishing" is really just an operation which sets some properties in the XSF file (within the template XSN) and then copies the XSN to the target location.
    (Unless you're publishing to a Windows SharePoint Services Form Library, in which case InfoPath does do some fancy stuff.)
    So you should be able to write code which cracks an XSN (just a CAB), sets the appropriate settings in the XSF, re-CABs the XSN, then copies the file to your HTTP location using whatever protocol you want.
  • 12-02-2008 02:48 AM In reply to

    Re: Automate the publshing process to a network location

    Hello 

    Try this, it mght be helpful to you. 

    http://www.codeproject.com/KB/vb/InfoPathFormsPublisher.aspx

    Madhuri
    http://www.ggktech.com
  • 12-02-2008 12:50 PM In reply to

    Re: Automate the publshing process to a network location

    I was hoping to try something that can be included in the command line during our builds. People have said you can search the manifest.xsf with x-path to find the files that belong to the xsn and then re-cab it with MAKECAB. Can someone provide more direction on what I'm looking for in the manifest.xsf?

     ~Steve

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.