I have a form (published to Sharepoint) that has a Submit button, which submits the XML data of the form to the database via a WCF web service (using the Submit action).
I have a .NET web application that has a button that when clicked should allow the user to open the form and pre-load the form with the XML data previously saved to the database. I have some javascript in the aspx page that calls a window.open function passing in the sharepoint URL which should open the form in a browser window.
I have search on the InfoPath Dev forums for an answer and I simply cannot find the answers to the questions I'm seeking: -
1. How can I load the form with the XML data? A C# code snippet would be useful.
2. Where should this code be placed a) in the aspx page of the .NET web application or B) in the codebehind of the InfoPath form using VSTA?
Regards
Sekf