Publish template via object model - InfoPath Dev
in

InfoPath Dev

Publish template via object model

Last post 01-24-2009 12:32 PM by Vladislav Roshchin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-20-2009 10:30 PM

    Publish template via object model

    Hi,

    I want to use a add-in in IP calling the object model to automate the publish process to sharepoint, but could not find any appropriate methods. After all, is it possible to do in this way?

     Thanks!

  • 01-20-2009 10:37 PM In reply to

    Re: Publish template via object model

    Hi SamHuang,

    There is no InfoPath OM call for Publish. We have a library that automates publish to SharePoint (among other things), but we haven't made it public yet. You can just use the SharePoint OM to do this. Since saving an XSN to a Form Library is equivalent to publishing, you could just do that too. Good luck!

    Patrick Halstead
    Project Manager at Qdabra
  • 01-21-2009 08:29 PM In reply to

    Re: Publish template via object model

     Hi Patrick, although i did not try using sharepoint OM doing so, I did it manually by replacing the template of a form library with another one, which is not yet published by infopath client. When to create a new form based on the updated template, the browser downloads the template instead of openning a new form based on it.

    So I wonder if the publish procedure is not as simple as updating the template in sharepoint, it might has something extra, isn't it?

  • 01-24-2009 12:32 PM In reply to

    Re: Publish template via object model

     I guess you must use stsadm command to publish form template.

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