repeating values and webservices - InfoPath Dev
in

InfoPath Dev

repeating values and webservices

Last post 09-04-2006 01:42 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-04-2006 05:19 AM

    repeating values and webservices

    Hello,

    I have created an infopath form which uses a webservice. The webservice-request is started by pressing a button. When I received the result, i want to use it. But the problem is the result has single values and also repeating values.

    for example:

    <Name/>
    <Adress/>
    <Job/>
    <Job/>

    With the rules i can set the result, but how can i fill the a repeating node with the results?





  • 09-04-2006 01:42 PM In reply to

    Re: repeating values and webservices

    Hi ActiveT and welcome to our forum!
    Does the form have a main data source derived from the Web service or is it separate from the Web service (I'm guessing the latter, but need to know). There are some tricks using eval function to concatenate strings and my guess is that you may be able to do a similar thing where you have a rule that fires at the parent and sets a counter that you use to index the child in the secondary data source and copy the resutls to the main data source. Shouldn't be too hard to implement using rules and xpath. Of course, you could just do it in code too.
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.