Convert or Generate PDF form to XML format

Hello,
Is it possible to convert or generate a filled PDF form to XML with a specific format like the one below? Please advise.
<ImportSession UserID="Test" Password="Test">
<Batches>
<Batch Name="Batch Name" BatchClassName="Batch Name">
<Documents>
<Document FormTypeName="Form2314">
<IndexFields>
<IndexField Name="TITLE" Value="7601"/>
<IndexField Name="DocDate" Value="05/18/2011"/>
<IndexField Name="Person Name" Value="Smith, John"/>
<IndexField Name="From" Value="IT Division"/>
</IndexFields>
<Pages>
<Page ImportFileName="<INSERT FILE LOCATION HERE>"/>
</Pages></Document>
</Documents>
</Batch>
</Batches>
</ImportSession>
Thanks,
Han Dao

Hi Hodmi,
I would prefer to use LC Designer, can you explain little bit more on how to start it and LC Form ES.
Thanks, Han

Similar Messages

  • How to automate conversion of PDF forms to XML format

    Hi
    I have created a form using adobe livecycle designer 8. It has a email submit button that will send the form as a pdf file to a server.
    Once the server recevive this pdf file, they will store the pdf file into a local drive. How do I convert the pdf files in the local drive into XML format without actually opening the pdf file in the Adobe Professional and clicking export data as XML?
    Is there a way to write a code to convert these pdf files to XML format automatically?
    Hope someone can help me with this issue
    Regards
    Delvin Khong

    Hi Andersson,
    The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
    Thank a lot for your advice
    Warmest Regards
    Delvin Khong

  • Application error while generating PDF form

    Hello there,
    I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
    I get this upon doing the following steps:
    1. Enter SAP R3, enter HREIC on the transaction code input.
    2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
    3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
    Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
    Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
    Thanks a lot.

    Be sure that the RFC name is "ADS" and not anything else.
    Thanks.

  • Export PDF Form to XML through VBScript

    Hi,
    I was wondering if there is a way to automate the export of an Adobe PDF Form to XML, either using the Adobe SDK/AcroExch.App or the PDF Test Toolkit.
    I'm wanting to perform this action via a QuickTest Pro Script and thought there might be a funciton already written to perform this action, rather than having to automate the selection of Document>>Forms>>Export Data... from the Adobe Reader Menu and the Export Dialog.
    Any suggestions would be much appreciated
    Thanks in advanced,
    Ross

    Hi,
    Are you trying to edit the Adobe Test Toolkit ? If yes, I think it’s not easy to edit Adobe Test Toolkit. If you want to export PDF file to Microsoft XML file and Adobe is not working with you, than I will recommend you to try Classic PDF Editor which can easily export PDF files to Microsoft XML files. Classic PDF Editor also done many other type of file conversation like PDF to Doc, XML, PPT etc
    If Classic PDF Editor solve your problem, must come back share your important views about this software.
    Thanks

  • Course of action? Parsing 1000+ PDF forms into XML.

    Hello -
    I am looking to automate the parsing of hundreds of PDF Forms into XML and then do some basic validation. The preferred method would be to drop all of the PDF's into a folder, run a script, and then the PDF's would go to their corresponding directory based on a XML validation test (easy to do once I get the PDF form into XML).
    Now, I have googled all around the web looking for plug ins, scripts, or anything that might accomplish this. Everything that might have a chance of working seems very elaborate and expensive.
    Can anyone recommend plausible, cheap, and quick course of action? Also, the machines that these files are on are very locked down with  security, if that impacts your feedback.
    Greatly appreciated,
    David

    Hi Andersson,
    The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
    Thank a lot for your advice
    Warmest Regards
    Delvin Khong

  • How do I convert .txt to .pdf and keep the formatting

    I have a large .txt file that I would like to convert to .pdf.  I have tried to print the file and choose Adobe PDF but the output is just a mess.  I loose all the formatting and get blank pages every so often.  Does anyone know if is possible to convert .txt to .pdf and keep the formatting.  I would try a virtual printer application but I am not able to just install any application on my office computer.  Any help would be greatly appreciated.

    It may be a bit late for you now but in future (and for anyone else interested) I would recommend copying the text into a word document and changing the text font to Consolas. Adjust the size to fit the page again and it should match the original notepad formatting.

  • API for generating PDF Form

    How can i generate PDF Form from .NET coding?

    Etymon� PJ is a developer toolkit for parsing, modifying, and creating PDF documents. The main part of the toolkit is a Java class library that provides software developers with an object representation of a PDF document and offers the following features:
    # Read and parse an existing PDF document
    # Extract data from an existing PDF document
    # Modify an existing PDF document
    # Create a new PDF document
    check this link
    http://www.etymon.com/pj/
    Renjith

  • How to batch convert PDF forms to XML?

    We have a PDF form to monitor project progress. Steakholders fill the form and send to main project office. They get about 20 PDFs like this every day.
    End of day,  these PDFs (all in one format) should be read one-by-one and converted to XML.
    How do we do it? Which product/DLLs to use?

    Thank you so much . . . yes, the answer "staring me in the face".
    Great advice.
    After combining the pdf files into a SINGLE document . . . I just selected "SAVE-AS" . . . and selected "jpg" as the format.
    Acrobat automatically created 500 individual jpg files.
    Thanks again!

  • How generate PDF form XML

    I have a XML in the following format
      <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <PP gemfgid="DEAPP4144T11G03" type="AssyPPart_GEAE" Value="">
    - <WS gemfgid="DEAWS4144T11G03_AGB10" type="AssyWkstn_GEAE" Value="">
      <OP gemfgid="DEAOP4144T11G03_AGB10_000" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_010" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_020" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_030" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_040" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_050" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_060" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_070" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_080" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      <OP gemfgid="DEAOP4144T11G03_AGB10_090" type="AssyOp_GEAE" Value="" tceid="" rev="" pp="" ws="" op="" opDesc="" mOpersKey="" intro="" cutOff="" releaseStatus="" />
      </WS>
      </PP>I want to generate hte PDF in following format
    PP
    I__WS
        I___OPPlease help how write a "fo" file for this and generate the PDF

    Write an XSL with FO instrauctions, transform your XML with this XSL to an XSL-FO file and generate the PDF from the XSL-FO file with Apache FOP.
    See http://xmlgraphics.apache.org/fop/quickstartguide.html :
    5. To produce a PDF file from this XML file, we need an XSLT stylesheet that converts the XML to XSL-FO. This is the first step in the processing chain. The second step will be done by FOP when it reads the generated XSL-FO document and formats it to a PDF document. You can copy the following minimal XSLT stylesheet, which takes your first name and produces a "Hello World!"-style document (save it as name2fo.xsl):
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <xsl:output method="xml" indent="yes"/>
      <xsl:template match="/">
        <fo:root>
          <fo:layout-master-set>
            <fo:simple-page-master master-name="A4-portrait"
                  page-height="29.7cm" page-width="21.0cm" margin="2cm">
              <fo:region-body/>
            </fo:simple-page-master>
          </fo:layout-master-set>
          <fo:page-sequence master-reference="A4-portrait">
            <fo:flow flow-name="xsl-region-body">
              <fo:block>
                Hello, <xsl:value-of select="name"/>!
              </fo:block>
            </fo:flow>
          </fo:page-sequence>
        </fo:root>
      </xsl:template>
    </xsl:stylesheet>

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • How to populate Adobe LiveCycle Designer generated  PDF Forms with data from Database in Windows app

    Hi
    I have a PDF template designed in Adobe LiveCycle Designer. This template has form fields which needs to be filled with data programmatically. I am using windows application in C#.Net 2005 in which I want to retrieve data from database and merge this data into PDF form in respective fields.
    How this can be achieved?
    I searched a lot & I found that we can process the XDP file generated from PDF to acheive this. I created the XDP file out of the PDF template created in designer. But I don't know how to merge data from database into that XDP file in respective fields and again convert this XDP file back to PDF programmatically. Can anybody help me ? This is urgent.
    Thanks in advance.
    Sambhaji

    Please ignore the above code.<br />The following one is correct one.<br />using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Web.UI.HtmlControls;<br />using System.Text;<br />public partial class _Default : System.Web.UI.Page <br />{<br />    protected void Page_Load(object sender, EventArgs e)<br />    {<br />        Response.ContentType = "application/vnd.adobe.xdp+xml";<br />        StringBuilder responseString = new StringBuilder();<br />        responseString.Append("<?xml version='1.0' encoding='UTF-8'?>");<br />        responseString.Append("<?xfa generator='AdobeLiveCycleDesigner_V8.0' APIVersion='2.5.6290.0'?>");<br />        responseString.Append("<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>");<br />        responseString.Append("<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>");<br />        responseString.Append("<xfa:data>");<br /><br />        responseString.Append("<form1>");<br />        responseString.Append("<TextField1>Homer</TextField1>");<br />        responseString.Append("<TextField2>Simpson</TextField2>");<br />        responseString.Append("<field name ='DropDownList1'>");<br />        responseString.Append("<items save='1'>");<br />        responseString.Append("<text>1</text>");<br />        responseString.Append("<text>2</text>");<br />        responseString.Append("<text>3</text>");<br />        responseString.Append("</items>");<br />        responseString.Append("</field>");<br /><br />        responseString.Append("</form1>");<br /><br />        responseString.Append("</xfa:data>");<br />        responseString.Append("</xfa:datasets>");<br />        responseString.Append("<pdf  href='C:\\Test.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />");<br />        responseString.Append("</xdp:xdp>");<br /><br />        Response.Write(responseString);<br />        Response.Flush();<br />        Response.End();<br />    }<br />}

  • Filling PDF Form with XML data file

    Hello everybody.
    I need help.
    I created a form with LiveCycle Designer. I filled it and generated a XML data files. Now, I would like to fill the same blank PDF form with this XML data file.
    I know that I can do it with Adobe 8.0 but I must do it in an C# / .NET application that I have to create.
    (Forms I'm creating are not for me, I create the forms. Client uses them form but he don't have Adobe Acrobat 8.0, so he can't realise the automatic PDF filling with Adobe Acrobat 8.0)
    So I am looking for help with ".NET" "COM" or other library to help me to do it. If someone has other idea just give it.
    Thanks for your reply
    Jean Pierre (sorry for my bad English)

    Hello Mike
    Thank's for your reply. I used XPAAJ and it works very well but my company his develloping software with C# langage.
    I tried to convert XPPAJ to C#, I did it with the Java Langage Conversion Assistant but "Adobe Library" included in jar files cannot be translated to C#/.NET library. So, I can't use it.
    I found some C#/.NET API on the NET but they are very expensive and my company don't want to pay. They want me to create my own solution with library given by Adobe when you buy Adobe 8. So I am looking for this library.
    Is there an Adobe LiveCycle Designer SDK to help me.
    Thank you in advance for your reply
    Jean Pierre (student developing with LiveCycle Designer)

  • Automatically creating non-interactive PDF forms from XML data

    Hi All,
    I am a newbie to the whole Adobe LifeCycle Designer product and have been trying to find a definitive technical article on a way to automatically create pdf documents from template forms using XML data. I can create the XML, I can create the form based on the XML schema but I can't seem to find anything which explains how to automatically associate the form with the each xml file that I create and produce a pdf document based on the xml data.
    The project I am working involves creating marketing brochures, driven from our enterprise databases, to be sent to a printer. No user interaction is required, and I estimate that we'll need to create around 500-1000 pdf's per day.
    To me this seems like it should be quite a simple task but I can't find anything which gives me a starting point.
    Any help would be greatly appreciated.
    Regards
    Nick Smith

    Hi Nick,
    Just curious if you figured out how to generate a PDF out of a template? I've a similar requirement where I transform XML schemas into templates, convert the template into a PDF document, and at run time bind the PDF with the form data.
    To sort of answer your question of how to bind an XML instance file to a form, if that form is an XML-FORM, then all you'd need to do is open that document as a PDF document using the PDFFactory, and invoke the importFormData() method on it, passing the XML instance as the input stream.
    The harder part though is getting the PDF out of the template in the first place, without using any adobe user interface period.
    Karthick

  • How do I convert an existing pdf form into a writable pdf form?

    Greetings!
    I am new to Adobe when it comes to creating forms that are writable.  I have an existing form in pdf format that I would like to convert to writeable pdf format and save for future use on our website.  Can you provide any help?

    Greetings!
    I am new to Adobe when it comes to creating forms that are writable.  I have an existing form in pdf format that I would like to convert to writeable pdf format and save for future use on our website.  Can you provide any help?

  • Populate PDF form with XML data

    Although a seemingly simple task, this question has occupied way too much of my time the last week and I am asking the following out of sheer desperation and frustration.
    I have a pdf form created with Designer 7.0. I have a separate XML data file to populate the form with. I can test using the preview in Designer and everything looks great. Now, all I want to do is deploy this pdf to a standard web server (IIS, Windows) such that any visitor to the site (using Reader) is able to open it/view it/print it, with the data there. That's it.
    This was easily accomplished using Acrobat 6 by creating an ASP page that output an FDF file which referenced the PDF. Not so with the latest version.
    I have downloaded three separate several hundred page documents that do not explain how to accomplish this task simply. So to summarize:
    1. Does this task *require* a separate piece of software (Document Server) that was not required before?
    2. If Document Server is not required, what are the steps to publish the pdf file and reference the data file?
    Please help, extraordinarily frustrated :-(.

    Ravinder, were you actually able to get your PDF Document (Form) to load with data?  I have not been able to get my .NET page to populate my PDF document - the PDF loads in my Browser but has no data.  If you can post sample code that you were able to get to work, it would be appreciated, or if you notice something wrong with my code below, please let me know.<br /><br />Also, when my PDF document loads in my browser, I am prompted to "Open or Save" my .xdp file and if I click "Open", my PDF Form loads, but the fields are not populated.  How do I stop this prompt from loading?  I don't want the user(s) to be able to see this.<br /><br />My .NET page and XML file are listed below:<br />------------------------- .NET -----------------------------------<br />Imports System.Text<br />Imports System.IO<br /><br />Public Class WebForm1<br />    Inherits System.Web.UI.Page<br /><br />#Region " Web Form Designer Generated Code "<br /><br />    'This call is required by the Web Form Designer.<br />    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()<br /><br />    End Sub<br /><br />    'NOTE: The following placeholder declaration is required by the Web Form Designer.<br />    'Do not delete or move it.<br />    Private designerPlaceholderDeclaration As System.Object<br /><br />    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init<br />        'CODEGEN: This method call is required by the Web Form Designer<br />        'Do not modify it using the code editor.<br />        InitializeComponent()<br />    End Sub<br /><br />#End Region<br /><br />    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />        'Put user code to initialize the page here<br /><br />        Dim responseString As New StringBuilder<br />        Dim sr As StreamReader<br />        Dim xmldata As String<br /><br />        Response.ContentType = "application/vnd.adobe.xdp+xml"<br />        responseString.Append("<?xml version='1.0' encoding='UTF-8'?>")<br />        responseString.Append("<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>")<br />        responseString.Append("<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>")<br />        responseString.Append("<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>")<br />        responseString.Append("<xfa:data xfa:dataNode='dataGroup'>")<br />        sr = File.OpenText("c:\\inetpub\\wwwroot\\PDFFiller\\TestForm_data.xml")<br />        xmldata = sr.ReadToEnd()<br />        sr.Close()<br />        responseString.Append(xmldata)<br /><br />        'responseString.Append("<form1>")<br />        'responseString.Append("<txtFirstName>Homer</txtFirstName>")<br />        'responseString.Append("<txtLastName>Simpson</txtLastName>")<br />        'responseString.Append("</form1>")<br /><br />        responseString.Append("</xfa:data>")<br />        responseString.Append("</xfa:datasets>")<br />        responseString.Append("<pdf href='http://localhost/PDFFiller/TestForm.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />")<br />        responseString.Append("<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>")<br />        responseString.Append("<annots/>")<br />        responseString.Append("</xfdf>")<br />        responseString.Append("</xdp:xdp>")<br /><br />        Response.Write(responseString)<br />        Response.Flush()<br />        Response.End()<br /><br />    End Sub<br /><br />End Class<br /><br />----------------------End .NET -----------------------------------<br /><br />--------- XML (TestForm_data.xml) --------------------------------<br /><form1><txtFirstName>Homer</txtFirstName><txtLastName>Simpson</txtLastName></form1><br />----------------------End XML -----------------------------------

Maybe you are looking for