Setting unbound Data - InfoPath Dev
in

InfoPath Dev

Setting unbound Data

Last post 10-25-2006 09:15 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-25-2006 08:23 AM

    Setting unbound Data

    Im using a webservice to return a parameterised query. It works fine when i bind elements to it.

    I want to set the control values without binding to this

    //Requery the webservice datasource
    thisXDocument.DataObjects["GetData"].Query();

    IXMLDOMNode nodeResult = wsDOM.selectSingleNode("/dfs:myFields/dfs:dataFields/s0:GetExistingClientNoteData/s0:MainText");

    getting null back on the nodeResult, anyone help here?
  • 10-25-2006 09:15 AM In reply to

    Hello,
    Do a quickwatch on the "wsDOM" object and look at the "xml" property of that object. In the XML look if your xpath is correct. If your xPath is correct, check if you have set "namespace" to "wsDOM" is set correct(basically did you do call "setProperty" method in wsDOM).
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.