Error with NewFromSolutionWithData - InfoPath Dev
in

InfoPath Dev

Error with NewFromSolutionWithData

Last post 05-10-2006 01:45 AM by Coita Thierry. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-20-2006 05:53 AM

    Error with NewFromSolutionWithData

    I have an XML document in script and can't use it to load another form using NewFromSolutionWithData. I'm using the following code, but get the error 'object doesn't support this property or method'
    (I've already checked that objXMLNode is not null, it's not).

    var objXMLNode = xmlResult.selectSingleNode("/XML_Availability_Response");

    Application.XDocuments.NewFromSolutionWithData(objXMLNode, "C:\\InfoPath\\AvailabilityRsp.xsn");
  • 05-10-2006 01:45 AM In reply to

    Re: Error with NewFromSolutionWithData

    Hi,

    Two things to know:

    -First this xml must valid for the primary datasource of this new form

    -This XML must be IXML... that don't work with a System.XML object(XMLdocument and XMLNode for example).

    ++

    Thierry
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.