Result of a Submit Data Connection - InfoPath Dev
in

InfoPath Dev

Result of a Submit Data Connection

Last post 03-06-2009 02:52 AM by Paul Burbage. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-05-2009 08:36 AM

    Result of a Submit Data Connection

    If I create a "submit" data connection to a web service, can I access the result, since it does not appear that connections of this type create a "secondary" data source.

    Mainly I'm wondering, because this web service has an input parameter which is an Array designed to accept the contents of a repeating table on the form.  With the receive data connection, I don't think I can do this with a regular set value in a rule, but with the submit data connection, when you create it, it lets you map a group to an input param, as all examples on the web you will find.  But then i can't get the results of the call, or don't know how.

     Thanks

  • 03-05-2009 07:05 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Result of a Submit Data Connection

    Hello,

    You have to write the code to executes the submit connection with repeating parameters. You have to get the web service DOM and set the parameters using for loop in your code and execute it.

    Check it once the below link,

    http://www.infopathdev.com/forums/p/9471/39043.aspx#39043

  • 03-06-2009 02:52 AM In reply to

    Re: Result of a Submit Data Connection

    Code isn't nessary to execute the submit connection with repeating parameters, this can be mapped when you setup the submit connection.  I'm mainly asking if I setup a submit connection in the non-code way, can the result of the submit connection be accessed, since the submit connection is not listed as a secondary data source.

    This isn't a hot issue, I've already done everything through code and a receive data connection where I mapped the repeating parameters and it works fine, just a curiosity now.

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