fill out forms with xml - InfoPath Dev
in

InfoPath Dev

fill out forms with xml

Last post 08-24-2007 01:36 PM by hsong. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-24-2007 01:36 PM

    • hsong
    • Not Ranked
    • Joined on 08-24-2007
    • Posts 4

    fill out forms with xml

    hello everyone

    I am trying to load the values from the xml (which is the saved value from the infopath form), then open it with the template so it can be filled out automatically.

    so far, i have similar codes but when i do import, import doesn't get all the values from the xml files

    following is my psuedo code.

    ==================================

    oxDocumentCollection = application.xDocuments;
    oxDocument = oxDocumentCollection.newFromSolution(varURI : "http://myserver/formTmplt.xsn");

    oxDocument.importFile(bstrFileURI : "c://test.xml");
    oxDocument.saveAs(bstrFileUrl : "c://a.xsn");

    is there a way that you can mimic the "Fill Out a Form" feature just as in infopath ?

     thank you

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