Hey everyone, I've created a form using LiveCycle designer, and have a submit button to send XML data to my webserver.
<submit textEncoding="UTF-8" target="http://localhost:57179/default.aspx" embedPDF="1" format="xml"/>
What i need is to have an XML document that I can parse the data from and send it to my database. I've got the parsing to database part down, but I can't figure out how to get the data from the PDF to my application.
What exactly is being sent when the button is clicked and how? And how do I retrieve the XML?? it isn't a through a traditional GET/POST method is it??
I've attached the beginning part of my working code if that's of any help. But it is simply using a saved xml document, not one coming from a PDF.
- <%@ Page Title="Home Page" Language="vb" AutoEventWireup="true"
- CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
-
- <%@ Import Namespace="System.Xml" %>
- <%@ Import Namespace="System.Data" %>
- <%@ Import Namespace="System.Data.SqlClient" %>
- <%@ Import Namespace="System.Text"%>
-
-
- <script runat="server">
-
- Protected Overloads Sub Page_Load(ByVal source As Object, ByVal e As EventArgs)
- Dim doc As New XmlDocument
- doc.Load(Server.MapPath("~/App_Data/test.xml"))
- Dim root As XmlNode
- root = doc.DocumentElement