Get xml data when submit button clicked - InfoPath Dev
in

InfoPath Dev

Get xml data when submit button clicked

Last post 02-13-2013 05:27 AM by jaxkookie. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-24-2012 08:28 AM

    Get xml data when submit button clicked

    Hey all,

     I'm trying to get the xml data format when a forms submit button is clicked in form code behind (non ribbon submit, just regular button click). Browser enabled form. Any pointers for this?

    Thanks

  • 02-04-2013 06:57 PM In reply to

    Re: Get xml data when submit button clicked

    Good day labyrinth248

    Have you tried adding a rule to the button, when the button is clicked → query for data? then choosing the xml data as your data connection.

     

  • 02-13-2013 05:27 AM In reply to

    Re: Get xml data when submit button clicked

    using c# I have found either of the following are identical. Because I am submitting to sql I had to account for single ticks so I added a string replace

    XPathNavigator root = CreateNavigator();

    string myxml = root.OuterXml.Replace("'", "''");
    string myIxml = root.InnerXml.Replace("'", "''");

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